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/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java index 98fe724ad7d..a76e0084403 100644 --- a/src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java @@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @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 get() { return get(null); } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @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 get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -134,7 +134,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -186,7 +186,7 @@ public ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Retrieve a conversationMember from a chat or channel. + * Retrieve a conversationMember from a chat. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { 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..c8129dbf898 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..34be4bbb1bd 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 managedAppPolicy 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 managedAppPolicy 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 managedAppPolicy 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 managedAppPolicy 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 managedAppPolicy objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java index 1eff5341195..fe9ce73d4b5 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java @@ -64,21 +64,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 targetedManagedAppProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @return a {@link ManagedAppPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppPolicy get() { return get(null); } /** - * Read properties and relationships of the targetedManagedAppProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedAppPolicy} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -133,7 +133,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the targetedManagedAppProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -141,7 +141,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the targetedManagedAppProtection object. + * Read properties and relationships of the managedAppConfiguration object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -193,7 +193,7 @@ public ManagedAppPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the targetedManagedAppProtection object. + * Read properties and relationships of the managedAppConfiguration object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java index 90134a12068..183e14e1b0f 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/targetapps/TargetAppsRequestBuilder.java @@ -38,7 +38,7 @@ public TargetAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Not yet documented * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body) { post(body, null); @@ -48,7 +48,7 @@ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody bod * @param body The request body * @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 post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java index 74c6a44cf3f..15092894deb 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java @@ -69,21 +69,21 @@ public ManagedAppRegistrationsRequestBuilder(@jakarta.annotation.Nonnull final S super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the iosManagedAppRegistration objects. * @return a {@link ManagedAppRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppRegistrationCollectionResponse get() { return get(null); } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the iosManagedAppRegistration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedAppRegistrationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedAppRegistrationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -120,7 +120,7 @@ public ManagedAppRegistration post(@jakarta.annotation.Nonnull final ManagedAppR return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppRegistration::createFromDiscriminatorValue); } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the iosManagedAppRegistration objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -128,7 +128,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the iosManagedAppRegistration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -174,7 +174,7 @@ public ManagedAppRegistrationsRequestBuilder withUrl(@jakarta.annotation.Nonnull return new ManagedAppRegistrationsRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the managedAppRegistration objects. + * List properties and relationships of the iosManagedAppRegistration 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/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java index 6b8d2345dc5..0dbac3cfe45 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/targetapps/TargetAppsRequestBuilder.java @@ -38,7 +38,7 @@ public TargetAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Not yet documented * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body) { post(body, null); @@ -48,7 +48,7 @@ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody bod * @param body The request body * @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 post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java index 910c4cf6a34..46236ecfbdf 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/targetapps/TargetAppsRequestBuilder.java @@ -38,7 +38,7 @@ public TargetAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Not yet documented * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body) { post(body, null); @@ -48,7 +48,7 @@ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody bod * @param body The request body * @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 post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); 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/ManagedEBookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java index 99e8d46dffd..8f1d73a214c 100644 --- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java @@ -102,21 +102,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 iosVppEBook object. + * Read properties and relationships of the managedEBook object. * @return a {@link ManagedEBook} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBook get() { return get(null); } /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ManagedEBook} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ManagedEBook get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -173,7 +173,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -181,7 +181,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -233,7 +233,7 @@ public ManagedEBookItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the iosVppEBook object. + * Read properties and relationships of the managedEBook 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..4dca98ed3dc 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) { @@ -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} */ @@ -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..7fc760a3edf 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 @@ -81,23 +81,23 @@ public ManagedEBookAssignment get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignment::createFromDiscriminatorValue); } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a 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 patch(@jakarta.annotation.Nonnull final ManagedEBookAssignment body) { return patch(body, null); } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a 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 patch(@jakarta.annotation.Nonnull final ManagedEBookAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a iosVppEBookAssignment object. + * Update the properties of a managedEBookAssignment 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 iosVppEBookAssignment object. + * Update the properties of a 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} 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..bb203a1dec2 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 macOSMicrosoftEdgeApp 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 macOSMicrosoftEdgeApp 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 windowsWebApp 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 windowsWebApp 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 macOSMicrosoftEdgeApp 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 macOSMicrosoftEdgeApp 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 windowsWebApp 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 windowsWebApp 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 macOSMicrosoftEdgeApp 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..3d786dfc4b5 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 windowsMicrosoftEdgeApp 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 windowsMicrosoftEdgeApp 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) { @@ -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 windowsMicrosoftEdgeApp 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 windowsMicrosoftEdgeApp object. * @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 windowsMicrosoftEdgeApp object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java index b24f9f77905..8842d56f52d 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java @@ -573,7 +573,7 @@ public DeviceManagementRequestBuilder(@jakarta.annotation.Nonnull final String r * Read properties and relationships of the deviceManagement object. * @return a {@link DeviceManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceManagement get() { @@ -584,7 +584,7 @@ public DeviceManagement get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -608,7 +608,7 @@ public GetEffectivePermissionsWithScopeRequestBuilder getEffectivePermissionsWit * @param body The request body * @return a {@link DeviceManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement body) { @@ -620,7 +620,7 @@ public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceManagement} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { 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..2826d5d929c 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 @@ -60,21 +60,21 @@ public DeviceCompliancePoliciesRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @return a {@link DeviceCompliancePolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicyCollectionResponse get() { return get(null); } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceCompliancePolicyCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceCompliancePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -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 macOSCompliancePolicy 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 macOSCompliancePolicy 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) { @@ -111,7 +111,7 @@ public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompl return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue); } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy 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 androidCompliancePolicy object. + * Create a new macOSCompliancePolicy 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 macOSCompliancePolicy 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 DeviceCompliancePoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnul return new DeviceCompliancePoliciesRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the windows81CompliancePolicy objects. + * List properties and relationships of the androidWorkProfileCompliancePolicy objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { 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..d39e2473865 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 windowsPhone81CompliancePolicy. * @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 windowsPhone81CompliancePolicy. * @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 windows10MobileCompliancePolicy 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 windows10MobileCompliancePolicy 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 androidCompliancePolicy 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 androidCompliancePolicy 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 windowsPhone81CompliancePolicy. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -197,7 +197,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a windows10MobileCompliancePolicy. + * Deletes a windowsPhone81CompliancePolicy. * @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 windows10MobileCompliancePolicy 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 windows10MobileCompliancePolicy 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 androidCompliancePolicy 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 androidCompliancePolicy 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 windows10MobileCompliancePolicy 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..da726399bcc 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 windowsPhone81CustomConfiguration 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 windowsPhone81CustomConfiguration 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 windowsPhone81CustomConfiguration 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 windowsPhone81CustomConfiguration 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..0cd4faa96f3 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 windows10TeamGeneralConfiguration. * @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 windows10TeamGeneralConfiguration. * @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 iosDeviceFeaturesConfiguration 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 iosDeviceFeaturesConfiguration 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 windows10TeamGeneralConfiguration. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -190,7 +190,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a iosDeviceFeaturesConfiguration. + * Deletes a windows10TeamGeneralConfiguration. * @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 iosDeviceFeaturesConfiguration 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 iosDeviceFeaturesConfiguration 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 iosDeviceFeaturesConfiguration 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..8b5a8749812 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 @@ -60,21 +60,21 @@ public DeviceEnrollmentConfigurationsRequestBuilder(@jakarta.annotation.Nonnull super(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @return a {@link DeviceEnrollmentConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfigurationCollectionResponse get() { return get(null); } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceEnrollmentConfigurationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public DeviceEnrollmentConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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) { @@ -111,7 +111,7 @@ public DeviceEnrollmentConfiguration post(@jakarta.annotation.Nonnull final Devi return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue); } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration 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 deviceEnrollmentPlatformRestrictionsConfiguration object. + * Create a new deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 DeviceEnrollmentConfigurationsRequestBuilder withUrl(@jakarta.annotation. return new DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects. + * List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { 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..66dab298431 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 @@ -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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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) { @@ -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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration 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 deviceEnrollmentWindowsHelloForBusinessConfiguration object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java index 8d4d1eeb90a..79c71a4aff3 100644 --- a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java @@ -60,21 +60,21 @@ public RoleDefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @return a {@link RoleDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RoleDefinitionCollectionResponse get() { return get(null); } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RoleDefinitionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RoleDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -84,23 +84,23 @@ public RoleDefinitionCollectionResponse get(@jakarta.annotation.Nullable final j return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinitionCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new roleDefinition object. + * Create a new 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 post(@jakarta.annotation.Nonnull final RoleDefinition body) { return post(body, null); } /** - * Create a new roleDefinition object. + * Create a new 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 post(@jakarta.annotation.Nonnull final RoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +111,7 @@ public RoleDefinition post(@jakarta.annotation.Nonnull final RoleDefinition body return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinition::createFromDiscriminatorValue); } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition 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 roleDefinition object. + * Create a new deviceAndAppManagementRoleDefinition 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 roleDefinition object. + * Create a new 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} @@ -165,7 +165,7 @@ public RoleDefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S return new RoleDefinitionsRequestBuilder(rawUrl, requestAdapter); } /** - * List properties and relationships of the roleDefinition objects. + * List properties and relationships of the deviceAndAppManagementRoleDefinition objects. */ @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..31665978f35 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 @@ -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) { @@ -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/tables/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java index 25580bb3f11..bcf6f11d17b 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java @@ -36,23 +36,23 @@ public AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/add", rawUrl); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @return a {@link WorkbookTable} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body) { return post(body, null); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookTable} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -63,7 +63,7 @@ public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody b return this.requestAdapter.send(requestInfo, errorMapping, WorkbookTable::createFromDiscriminatorValue); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @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/worksheets/item/tables/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java index a487e3decfd..635c39d3b34 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java @@ -36,23 +36,23 @@ public AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add", rawUrl); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @return a {@link WorkbookTable} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body) { return post(body, null); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookTable} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -63,7 +63,7 @@ public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody b return this.requestAdapter.send(requestInfo, errorMapping, WorkbookTable::createFromDiscriminatorValue); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Use this API to create a new Table. + * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is generated. * @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/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..fe62f228833 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 @@ -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/conversations/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java index b20eacba228..9902355a599 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param body The request body * @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 post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/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/groups/item/threads/item/posts/PostsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/posts/PostsRequestBuilder.java index 3d3ea1dbfa4..a8e2cfeae0a 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/posts/PostsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/posts/PostsRequestBuilder.java @@ -59,21 +59,21 @@ public PostsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @return a {@link PostCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public PostCollectionResponse get() { return get(null); } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PostCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public PostCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -83,7 +83,7 @@ public PostCollectionResponse get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, PostCollectionResponse::createFromDiscriminatorValue); } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -91,7 +91,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -113,7 +113,7 @@ public PostsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU return new PostsRequestBuilder(rawUrl, requestAdapter); } /** - * Get the posts of the specified thread. You can specify both the parent conversation and the thread, or,you can specify the thread without referencing the parent conversation. + * Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java index f11d366df32..950e00bfa49 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param body The request body * @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 post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. * @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/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java index 4a9841dbddf..4fe5a689acc 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) { @@ -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} */ @@ -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/catalogs/item/customworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/entitlementmanagement/catalogs/item/customworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java index 0adeac9c19c..251a786ceff 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); @@ -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} */ 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..e4d39f10c91 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": "2D891DF03A2B30E39F5FADB49A2429713B73F4C7EBB8F7063679069AF96136DCDD4A431D387A07A7491FEB732B3433B2912722FF45B32ABC02CC8A60F0517BEB", "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/models/WorkbookWorksheetProtectionOptions.java b/src/main/java/com/microsoft/graph/generated/models/WorkbookWorksheetProtectionOptions.java index 6b1d87bbe3d..d0d641fe65c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/WorkbookWorksheetProtectionOptions.java +++ b/src/main/java/com/microsoft/graph/generated/models/WorkbookWorksheetProtectionOptions.java @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the allowAutoFilter property value. Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled. + * Gets the allowAutoFilter property value. Represents the worksheet protection option of allowing using auto filter feature. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public Boolean getAllowAutoFilter() { return this.backingStore.get("allowAutoFilter"); } /** - * Gets the allowDeleteColumns property value. Indicates whether the worksheet protection option to allow deleting columns is enabled. + * Gets the allowDeleteColumns property value. Represents the worksheet protection option of allowing deleting columns. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public Boolean getAllowDeleteColumns() { return this.backingStore.get("allowDeleteColumns"); } /** - * Gets the allowDeleteRows property value. Indicates whether the worksheet protection option to allow deleting rows is enabled. + * Gets the allowDeleteRows property value. Represents the worksheet protection option of allowing deleting rows. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -72,7 +72,7 @@ public Boolean getAllowDeleteRows() { return this.backingStore.get("allowDeleteRows"); } /** - * Gets the allowFormatCells property value. Indicates whether the worksheet protection option to allow formatting cells is enabled. + * Gets the allowFormatCells property value. Represents the worksheet protection option of allowing formatting cells. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -80,7 +80,7 @@ public Boolean getAllowFormatCells() { return this.backingStore.get("allowFormatCells"); } /** - * Gets the allowFormatColumns property value. Indicates whether the worksheet protection option to allow formatting columns is enabled. + * Gets the allowFormatColumns property value. Represents the worksheet protection option of allowing formatting columns. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -88,7 +88,7 @@ public Boolean getAllowFormatColumns() { return this.backingStore.get("allowFormatColumns"); } /** - * Gets the allowFormatRows property value. Indicates whether the worksheet protection option to allow formatting rows is enabled. + * Gets the allowFormatRows property value. Represents the worksheet protection option of allowing formatting rows. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -96,7 +96,7 @@ public Boolean getAllowFormatRows() { return this.backingStore.get("allowFormatRows"); } /** - * Gets the allowInsertColumns property value. Indicates whether the worksheet protection option to allow inserting columns is enabled. + * Gets the allowInsertColumns property value. Represents the worksheet protection option of allowing inserting columns. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -104,7 +104,7 @@ public Boolean getAllowInsertColumns() { return this.backingStore.get("allowInsertColumns"); } /** - * Gets the allowInsertHyperlinks property value. Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled. + * Gets the allowInsertHyperlinks property value. Represents the worksheet protection option of allowing inserting hyperlinks. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -112,7 +112,7 @@ public Boolean getAllowInsertHyperlinks() { return this.backingStore.get("allowInsertHyperlinks"); } /** - * Gets the allowInsertRows property value. Indicates whether the worksheet protection option to allow inserting rows is enabled. + * Gets the allowInsertRows property value. Represents the worksheet protection option of allowing inserting rows. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -120,7 +120,7 @@ public Boolean getAllowInsertRows() { return this.backingStore.get("allowInsertRows"); } /** - * Gets the allowPivotTables property value. Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled. + * Gets the allowPivotTables property value. Represents the worksheet protection option of allowing using pivot table feature. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -128,7 +128,7 @@ public Boolean getAllowPivotTables() { return this.backingStore.get("allowPivotTables"); } /** - * Gets the allowSort property value. Indicates whether the worksheet protection option to allow the use of the sort feature is enabled. + * Gets the allowSort property value. Represents the worksheet protection option of allowing using sort feature. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -200,77 +200,77 @@ public void setAdditionalData(@jakarta.annotation.Nullable final MapFind 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/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/teams/item/channels/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/MembersRequestBuilder.java index 03fd4dfbb93..cdeccf97c34 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 @@ -93,23 +102,23 @@ public ConversationMemberCollectionResponse get(@jakarta.annotation.Nullable fin return this.requestAdapter.send(requestInfo, errorMapping, ConversationMemberCollectionResponse::createFromDiscriminatorValue); } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a channel. * @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 post(@jakarta.annotation.Nonnull final ConversationMember body) { return post(body, null); } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a channel. * @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 post(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +149,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +158,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Add a conversationMember to a channel. This operation is allowed only for channels with a membershipType value of private or shared. + * Add a conversationMember to a 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/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java index 4f51ce27359..53c0894211d 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); @@ -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} */ 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/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..17239b456a8 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) { @@ -120,23 +120,23 @@ public UserCollectionResponse get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, UserCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param body The request body * @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 post(@jakarta.annotation.Nonnull final User body) { return post(body, null); } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param body The request 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 post(@jakarta.annotation.Nonnull final User body, @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} */ @@ -167,7 +167,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param body The request body * @return a {@link RequestInformation} */ @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new user object. + * Create a new user.The request body contains the user to create. At a minimum, you must specify the required properties for the user. You can optionally specify any other writable properties. * @param body The request body * @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..0566228277e 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 @@ -737,21 +737,21 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder exportDevic return new ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(pathParameters, requestAdapter, skip, top); } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @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 get() { return get(null); } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @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 get(@jakarta.annotation.Nullable final java.util.function.Consumer 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) { @@ -820,7 +820,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -828,7 +828,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -880,7 +880,7 @@ public UserItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { 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..4d27f5d513e 100644 --- a/src/main/java/com/microsoft/graph/generated/userswithuserprincipalname/UsersWithUserPrincipalNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/userswithuserprincipalname/UsersWithUserPrincipalNameRequestBuilder.java @@ -59,21 +59,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 user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @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 get() { return get(null); } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @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 get(@jakarta.annotation.Nullable final java.util.function.Consumer 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) { @@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -190,7 +190,7 @@ public UsersWithUserPrincipalNameRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read properties and relationships of the user object. + * Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters {