diff --git a/CHANGELOG.md b/CHANGELOG.md
index c124d2c2e87..0e47b6456ef 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+## [6.6.0] - 2024-04-16
+
+### Added
+
+- Weekly generated beta models and request builders using Kiota
+
## [6.5.1] - 2024-03-29
### Changed
@@ -26,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [6.4.0] - 2024-02-28
### Added
+
- Weekly generated beta models and request builders using Kiota
## [6.3.0] - 2024-02-23
diff --git a/README.md b/README.md
index 73f09073f3a..90fe80f7b49 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
- implementation 'com.microsoft.graph:microsoft-graph-beta:6.5.0'
+ implementation 'com.microsoft.graph:microsoft-graph-beta:6.6.0'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
implementation 'com.azure:azure-identity:1.11.0'
}
@@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph-beta
- 6.5.0
+ 6.6.0
@@ -123,3 +123,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
+
diff --git a/gradle.properties b/gradle.properties
index ab541f5a263..c8f5bb31a70 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -26,8 +26,8 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph-beta
mavenMajorVersion = 6
-mavenMinorVersion = 5
-mavenPatchVersion = 1
+mavenMinorVersion = 6
+mavenPatchVersion = 0
mavenArtifactSuffix =
#These values are used to run functional tests
@@ -97,5 +97,6 @@ mavenCentralPublishingEnabled=true
+
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/AccessReviewDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/AccessReviewDecisionsRequestBuilder.java
index 698bcb48f65..5944aacbfff 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/AccessReviewDecisionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/AccessReviewDecisionsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviewDecisions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/item/AccessReviewDecisionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/item/AccessReviewDecisionItemRequestBuilder.java
index b72789b2564..3c1cfff2b18 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/item/AccessReviewDecisionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviewdecisions/item/AccessReviewDecisionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/AccessReviewsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/AccessReviewsRequestBuilder.java
index ce0be38b9f7..cdb837ae487 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/AccessReviewsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/AccessReviewsRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/AccessReviewItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/AccessReviewItemRequestBuilder.java
index 953f99b42a5..de66eefda7e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/AccessReviewItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/AccessReviewItemRequestBuilder.java
@@ -194,7 +194,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -237,7 +237,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/DecisionsRequestBuilder.java
index f2275a6e2bc..120c34531c3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/DecisionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/DecisionsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews/{accessReview%2Did}/decisions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java
index b2b31232bb7..4e78bfd55bd 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}/decisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}/decisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/InstancesRequestBuilder.java
index e6aad005b8b..f4c9a1b19af 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/InstancesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/InstancesRequestBuilder.java
@@ -60,7 +60,7 @@ public InstancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/accessReviews/{accessReview%2Did}/instances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @return a {@link AccessReviewCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -69,7 +69,7 @@ public AccessReviewCollectionResponse get() {
return get(null);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AccessReviewCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,7 +107,7 @@ public AccessReview post(@jakarta.annotation.Nonnull final AccessReview body, @j
return this.requestAdapter.send(requestInfo, errorMapping, AccessReview::createFromDiscriminatorValue);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews/{accessReview%2Did}/instances", pathParameters);
+ 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);
@@ -161,7 +161,7 @@ public InstancesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new InstancesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/AccessReviewItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/AccessReviewItemRequestBuilder.java
index be67af8756b..17b375f459a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/AccessReviewItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/AccessReviewItemRequestBuilder.java
@@ -118,7 +118,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @return a {@link AccessReview}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -127,7 +127,7 @@ public AccessReview get() {
return get(null);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AccessReview}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -179,13 +179,13 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -193,7 +193,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -222,7 +222,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
@@ -245,7 +245,7 @@ public AccessReviewItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * The collection of access reviews instances past, present and future, if this object is a recurring access review.
+ * The collection of access reviews instances past, present, and future, if this object is a recurring access review.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/DecisionsRequestBuilder.java
index 86b58610cf3..2c623f15c12 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/DecisionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/DecisionsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/decisions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java
index 6b01d475f93..99c743ad48e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/decisions/item/AccessReviewDecisionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/decisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/decisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/MyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/MyDecisionsRequestBuilder.java
index e32b2c90ec1..8b85ba3d26d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/MyDecisionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/MyDecisionsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/myDecisions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java
index 006453bdde9..400e429fc74 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/myDecisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/myDecisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/ReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/ReviewersRequestBuilder.java
index 7169e992c79..b03854a47a9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/ReviewersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/ReviewersRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/reviewers", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java
index e210a6df870..bfa94adf8ae 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/instances/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java
@@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/reviewers/{accessReviewReviewer%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -161,7 +161,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}/instances/{accessReview%2Did1}/reviewers/{accessReviewReviewer%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/MyDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/MyDecisionsRequestBuilder.java
index 3313ad4fc72..e79dda911d7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/MyDecisionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/MyDecisionsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews/{accessReview%2Did}/myDecisions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java
index c3594545990..755be916594 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/mydecisions/item/AccessReviewDecisionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}/myDecisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewDecision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}/myDecisions/{accessReviewDecision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/ReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/ReviewersRequestBuilder.java
index 488be9a7c32..c4ebb648854 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/ReviewersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/ReviewersRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/accessReviews/{accessReview%2Did}/reviewers", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java
index da51ea1c399..288d7e6e289 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/accessreviews/item/reviewers/item/AccessReviewReviewerItemRequestBuilder.java
@@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/accessReviews/{accessReview%2Did}/reviewers/{accessReviewReviewer%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -161,7 +161,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewReviewer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/accessReviews/{accessReview%2Did}/reviewers/{accessReviewReviewer%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/ActivitystatisticsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/ActivitystatisticsRequestBuilder.java
index 74879560ccb..db008e6bfc0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/ActivitystatisticsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/ActivitystatisticsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ActivityStatistics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/activitystatistics", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/item/ActivityStatisticsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/item/ActivityStatisticsItemRequestBuilder.java
index 81c5c3102bf..849a42dd9ca 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/item/ActivityStatisticsItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/activitystatistics/item/ActivityStatisticsItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/activitystatistics/{activityStatistics%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ActivityStatistics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/activitystatistics/{activityStatistics%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java
index 7d318718484..a06464036b9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/AdminRequestBuilder.java
@@ -220,7 +220,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Admin body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/appsandservices/AppsAndServicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/appsandservices/AppsAndServicesRequestBuilder.java
index a748be562b3..f3b1e5cbdb9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/appsandservices/AppsAndServicesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/appsandservices/AppsAndServicesRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/appsAndServices", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminAppsAndServices body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/appsAndServices", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/dynamics/DynamicsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/dynamics/DynamicsRequestBuilder.java
index 2ce372e1b4f..15e34f7d8c8 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/dynamics/DynamicsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/dynamics/DynamicsRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/dynamics", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminDynamics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/dynamics", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/EdgeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/EdgeRequestBuilder.java
index 6a8865484b5..d1f9cf08540 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/EdgeRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/EdgeRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/edge", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Edge body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/edge", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/InternetExplorerModeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/InternetExplorerModeRequestBuilder.java
index cd266f5bb76..7cf00ea1b25 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/InternetExplorerModeRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/InternetExplorerModeRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/edge/internetExplorerMode", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InternetExplorerMode body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/edge/internetExplorerMode", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/SiteListsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/SiteListsRequestBuilder.java
index 8eeb2281ea7..1fb0b9844c5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/SiteListsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/SiteListsRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowserSiteList body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/edge/internetExplorerMode/siteLists", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/BrowserSiteListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/BrowserSiteListItemRequestBuilder.java
index 08c1dcc0050..b33523d15c5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/BrowserSiteListItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/BrowserSiteListItemRequestBuilder.java
@@ -149,7 +149,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -192,7 +192,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BrowserSiteList body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/SharedCookiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/SharedCookiesRequestBuilder.java
index c549bbbe9a7..55bd50ddb65 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/SharedCookiesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/SharedCookiesRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowserSharedCookie body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/item/BrowserSharedCookieItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/item/BrowserSharedCookieItemRequestBuilder.java
index 5f1a4ac6693..3eb03fb8e5f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/item/BrowserSharedCookieItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sharedcookies/item/BrowserSharedCookieItemRequestBuilder.java
@@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies/{browserSharedCookie%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -165,7 +165,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BrowserSharedCookie body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies/{browserSharedCookie%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/SitesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/SitesRequestBuilder.java
index a80b11fb199..829862f0387 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/SitesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/SitesRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BrowserSite body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/item/BrowserSiteItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/item/BrowserSiteItemRequestBuilder.java
index 9c8192df6bf..d235b8da364 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/item/BrowserSiteItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/edge/internetexplorermode/sitelists/item/sites/item/BrowserSiteItemRequestBuilder.java
@@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites/{browserSite%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -165,7 +165,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BrowserSite body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites/{browserSite%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/forms/FormsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/forms/FormsRequestBuilder.java
index 3443dfe6fea..032175aaa71 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/forms/FormsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/forms/FormsRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/forms", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminForms body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/forms", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/Microsoft365AppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/Microsoft365AppsRequestBuilder.java
index ad4d7684ba3..5471d86e86d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/Microsoft365AppsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/Microsoft365AppsRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/microsoft365Apps", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminMicrosoft365Apps body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/microsoft365Apps", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/installationoptions/InstallationOptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/installationoptions/InstallationOptionsRequestBuilder.java
index c914f4bef18..64970b5a361 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/installationoptions/InstallationOptionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/microsoft365apps/installationoptions/InstallationOptionsRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/microsoft365Apps/installationOptions", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final M365AppsInstallationOptions body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/microsoft365Apps/installationOptions", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java
index 5d55f76b355..e3f6e4c3d4b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/PeopleRequestBuilder.java
@@ -145,7 +145,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/people", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -188,7 +188,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PeopleAdminSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/people", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/iteminsights/ItemInsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/iteminsights/ItemInsightsRequestBuilder.java
index 7081fbdfe11..5a3aa21e0a5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/iteminsights/ItemInsightsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/iteminsights/ItemInsightsRequestBuilder.java
@@ -55,19 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get itemInsights from admin
+ * Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy.
* @return a {@link InsightsSettings}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InsightsSettings get() {
return get(null);
}
/**
- * Get itemInsights from admin
+ * Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InsightsSettings}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InsightsSettings get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -77,21 +79,23 @@ public InsightsSettings get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, InsightsSettings::createFromDiscriminatorValue);
}
/**
- * Update the navigation property itemInsights in admin
+ * Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy
* @param body The request body
* @return a {@link InsightsSettings}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InsightsSettings patch(@jakarta.annotation.Nonnull final InsightsSettings body) {
return patch(body, null);
}
/**
- * Update the navigation property itemInsights in admin
+ * Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InsightsSettings}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InsightsSettings patch(@jakarta.annotation.Nonnull final InsightsSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -116,13 +120,13 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/people/itemInsights", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
}
/**
- * Get itemInsights from admin
+ * Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -130,7 +134,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get itemInsights from admin
+ * Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -142,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the navigation property itemInsights in admin
+ * Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -151,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the navigation property itemInsights in admin
+ * Update privacy settings to display or return the specified type of insights in an organization. The type of settings can be contact insights, item insights, or people insights. To learn more about customizing insights privacy for your organization, see:- Customize item insights privacy - Customize people insights privacy
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -159,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InsightsSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/people/itemInsights", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
@@ -182,7 +186,7 @@ public ItemInsightsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get itemInsights from admin
+ * Get the properties of an insightsSettings object for displaying or returning item insights in an organization. To learn how to customize the privacy of item insights in an organization, see Customize item insights privacy.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/ProfileCardPropertiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/ProfileCardPropertiesRequestBuilder.java
index 05d4cecd697..769254b79c0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/ProfileCardPropertiesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/ProfileCardPropertiesRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProfileCardProperty body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/people/profileCardProperties", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/item/ProfileCardPropertyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/item/ProfileCardPropertyItemRequestBuilder.java
index 8ea8db77082..565d0170792 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/item/ProfileCardPropertyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilecardproperties/item/ProfileCardPropertyItemRequestBuilder.java
@@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -165,7 +165,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfileCardProperty body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/people/profileCardProperties/{profileCardProperty%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/pronouns/PronounsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/pronouns/PronounsRequestBuilder.java
index 8a0dddfd455..d899bb0c4e4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/people/pronouns/PronounsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/pronouns/PronounsRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/people/pronouns", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PronounsSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/people/pronouns", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java
index 713ef0f89ec..c3414b8571b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/ReportSettingsRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/reportSettings", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminReportSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/reportSettings", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/ServiceAnnouncementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/ServiceAnnouncementRequestBuilder.java
index a608f17d1ca..8063de48ad5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/ServiceAnnouncementRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/ServiceAnnouncementRequestBuilder.java
@@ -143,7 +143,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/serviceAnnouncement", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -186,7 +186,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceAnnouncement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/serviceAnnouncement", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/HealthOverviewsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/HealthOverviewsRequestBuilder.java
index a75d7bf1b00..b1574590e4f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/HealthOverviewsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/HealthOverviewsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceHealth body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/serviceAnnouncement/healthOverviews", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/ServiceHealthItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/ServiceHealthItemRequestBuilder.java
index 8e09460062c..44c7ab12232 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/ServiceHealthItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/ServiceHealthItemRequestBuilder.java
@@ -127,7 +127,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -170,7 +170,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceHealth body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/IssuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/IssuesRequestBuilder.java
index 526003f8d09..06271b835e5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/IssuesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/IssuesRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceHealthIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/item/ServiceHealthIssueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/item/ServiceHealthIssueItemRequestBuilder.java
index 29f2d0281de..08548f3ac1e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/item/ServiceHealthIssueItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/healthoverviews/item/issues/item/ServiceHealthIssueItemRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues/{serviceHealthIssue%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceHealthIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}/issues/{serviceHealthIssue%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/IssuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/IssuesRequestBuilder.java
index 71a32ef4136..6c8e604e62c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/IssuesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/IssuesRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceHealthIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/serviceAnnouncement/issues", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java
index 4dc71c27d53..1e0c213fa21 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/issues/item/ServiceHealthIssueItemRequestBuilder.java
@@ -127,7 +127,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/serviceAnnouncement/issues/{serviceHealthIssue%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -170,7 +170,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceHealthIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/serviceAnnouncement/issues/{serviceHealthIssue%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/MessagesRequestBuilder.java
index 97e6d5c6e2c..38fdf118e3a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/MessagesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/MessagesRequestBuilder.java
@@ -200,7 +200,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceUpdateMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/serviceAnnouncement/messages", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java
index 9b415e412e7..455940b7a19 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/ServiceUpdateMessageItemRequestBuilder.java
@@ -136,7 +136,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -179,7 +179,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceUpdateMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/AttachmentsRequestBuilder.java
index 3d88c08324c..0926fcbe2e3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/AttachmentsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/AttachmentsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceAnnouncementAttachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}/attachments", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/item/ServiceAnnouncementAttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/item/ServiceAnnouncementAttachmentItemRequestBuilder.java
index 2a7b82a87fe..f7e89df6e2d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/item/ServiceAnnouncementAttachmentItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/item/ServiceAnnouncementAttachmentItemRequestBuilder.java
@@ -127,7 +127,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}/attachments/{serviceAnnouncementAttachment%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -170,7 +170,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ServiceAnnouncementAttachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/serviceAnnouncement/messages/{serviceUpdateMessage%2Did}/attachments/{serviceAnnouncementAttachment%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/SharepointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/SharepointRequestBuilder.java
index 255b5e5cca7..f573809487e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/SharepointRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/SharepointRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/sharepoint", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Sharepoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/sharepoint", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/settings/SettingsRequestBuilder.java
index e69a3accb30..56133f87ec4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/settings/SettingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/sharepoint/settings/SettingsRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/sharepoint/settings", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharepointSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/sharepoint/settings", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/todo/TodoRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/todo/TodoRequestBuilder.java
index 1023446564a..d7a0223d5c3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/todo/TodoRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/todo/TodoRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/todo", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminTodo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/todo", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/WindowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/WindowsRequestBuilder.java
index 034353cea4d..03087f4ac22 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/WindowsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/WindowsRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminWindows body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/UpdatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/UpdatesRequestBuilder.java
index c619aa6b4f3..158fc5069a2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/UpdatesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/UpdatesRequestBuilder.java
@@ -179,7 +179,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -222,7 +222,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminWindowsUpdates body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/CatalogRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/CatalogRequestBuilder.java
index 668560e1ac8..0747de8624c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/CatalogRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/CatalogRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/catalog", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Catalog body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/catalog", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/EntriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/EntriesRequestBuilder.java
index a8e74ef89bd..2da4d4287c8 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/EntriesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/EntriesRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CatalogEntry body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/catalog/entries", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/item/CatalogEntryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/item/CatalogEntryItemRequestBuilder.java
index 70b926f9fb4..bbcaf343c95 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/item/CatalogEntryItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/catalog/entries/item/CatalogEntryItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/catalog/entries/{catalogEntry%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CatalogEntry body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/catalog/entries/{catalogEntry%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/DeploymentAudiencesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/DeploymentAudiencesRequestBuilder.java
index 2fb4a26450e..f938476d248 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/DeploymentAudiencesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/DeploymentAudiencesRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeploymentAudience body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deploymentAudiences", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/DeploymentAudienceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/DeploymentAudienceItemRequestBuilder.java
index b2afc246c5a..297531a81d4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/DeploymentAudienceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/DeploymentAudienceItemRequestBuilder.java
@@ -165,7 +165,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -208,7 +208,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeploymentAudience body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/ApplicableContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/ApplicableContentRequestBuilder.java
index 9501ba8b8fe..90b10d8e8a2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/ApplicableContentRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/ApplicableContentRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApplicableContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
index e4ae3bc43d0..d25a2956a7f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
@@ -134,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApplicableContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
index 8d4f3d14919..11663a07677 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApplicableContentDeviceMatch body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
index 7437548919e..ef79bb4741e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApplicableContentDeviceMatch body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/ExclusionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/ExclusionsRequestBuilder.java
index 0cef6188477..48c4f724a8d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/ExclusionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/ExclusionsRequestBuilder.java
@@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/exclusions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/item/UpdatableAssetItemRequestBuilder.java
index 78bf89246b1..b38155fd120 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/exclusions/item/UpdatableAssetItemRequestBuilder.java
@@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/exclusions/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -195,7 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/exclusions/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/MembersRequestBuilder.java
index 8164cb7957f..add58e07515 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/MembersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/MembersRequestBuilder.java
@@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/members", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/item/UpdatableAssetItemRequestBuilder.java
index c4fa29d4011..86d3f92928d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deploymentaudiences/item/members/item/UpdatableAssetItemRequestBuilder.java
@@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/members/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -195,7 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}/members/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/DeploymentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/DeploymentsRequestBuilder.java
index 07c85d84b2a..d7c1a61e829 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/DeploymentsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/DeploymentsRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Deployment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deployments", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/DeploymentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/DeploymentItemRequestBuilder.java
index 9751c36e0d9..a935d18fe65 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/DeploymentItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/DeploymentItemRequestBuilder.java
@@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -174,7 +174,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Deployment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/AudienceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/AudienceRequestBuilder.java
index e26b3a2f4c4..bb7a52f31a4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/AudienceRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/AudienceRequestBuilder.java
@@ -161,7 +161,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -204,7 +204,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeploymentAudience body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/ApplicableContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/ApplicableContentRequestBuilder.java
index 70564c51961..7f3a9008fd5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/ApplicableContentRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/ApplicableContentRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApplicableContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
index bcba605fef3..6360cc8c3b3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
@@ -134,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApplicableContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
index a416de7cc26..a4ea936775a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApplicableContentDeviceMatch body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
index 94cb84db778..3e3d0a6fd88 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApplicableContentDeviceMatch body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/ExclusionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/ExclusionsRequestBuilder.java
index e410b564823..65cc581caed 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/ExclusionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/ExclusionsRequestBuilder.java
@@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/exclusions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java
index 9dc46f30958..7f7ce2e55f9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java
@@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/exclusions/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -195,7 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/exclusions/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/MembersRequestBuilder.java
index 5bdad3c0493..87c3849affd 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/MembersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/MembersRequestBuilder.java
@@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/members", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/item/UpdatableAssetItemRequestBuilder.java
index 10b3fbf6aee..9d297ce9b6a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/deployments/item/audience/members/item/UpdatableAssetItemRequestBuilder.java
@@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/members/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -195,7 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/deployments/{deployment%2Did}/audience/members/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java
index aaca1f51c72..58c262eee84 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/ProductsRequestBuilder.java
@@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Product body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/products", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java
index 6e0d745183c..ce10fe14341 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/ProductItemRequestBuilder.java
@@ -154,7 +154,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -197,7 +197,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Product body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/EditionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/EditionsRequestBuilder.java
index a3ade7b5053..d568ee969f0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/EditionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/EditionsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Edition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/products/{product%2Did}/editions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/item/EditionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/item/EditionItemRequestBuilder.java
index e1d6d5d2083..a4bed21f4a3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/item/EditionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/editions/item/EditionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}/editions/{edition%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Edition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}/editions/{edition%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/KnownIssuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/KnownIssuesRequestBuilder.java
index 9e57441752d..3cc112ebc9f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/KnownIssuesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/KnownIssuesRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final KnownIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/products/{product%2Did}/knownIssues", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/KnownIssueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/KnownIssueItemRequestBuilder.java
index 437a32eb5b5..0361ddf83f2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/KnownIssueItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/KnownIssueItemRequestBuilder.java
@@ -134,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}/knownIssues/{knownIssue%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final KnownIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}/knownIssues/{knownIssue%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/originatingknowledgebasearticle/OriginatingKnowledgeBaseArticleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/originatingknowledgebasearticle/OriginatingKnowledgeBaseArticleRequestBuilder.java
index 994de88a801..e26138d099f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/originatingknowledgebasearticle/OriginatingKnowledgeBaseArticleRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/originatingknowledgebasearticle/OriginatingKnowledgeBaseArticleRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}/knownIssues/{knownIssue%2Did}/originatingKnowledgeBaseArticle", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final KnowledgeBaseArticle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}/knownIssues/{knownIssue%2Did}/originatingKnowledgeBaseArticle", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/resolvingknowledgebasearticle/ResolvingKnowledgeBaseArticleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/resolvingknowledgebasearticle/ResolvingKnowledgeBaseArticleRequestBuilder.java
index f777fc03e3b..e853b4c5c6e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/resolvingknowledgebasearticle/ResolvingKnowledgeBaseArticleRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/knownissues/item/resolvingknowledgebasearticle/ResolvingKnowledgeBaseArticleRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}/knownIssues/{knownIssue%2Did}/resolvingKnowledgeBaseArticle", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final KnowledgeBaseArticle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}/knownIssues/{knownIssue%2Did}/resolvingKnowledgeBaseArticle", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/RevisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/RevisionsRequestBuilder.java
index be6027d0f8e..3a65f922c25 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/RevisionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/RevisionsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProductRevision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/products/{product%2Did}/revisions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/ProductRevisionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/ProductRevisionItemRequestBuilder.java
index 1564894bb1f..9c0c2e136b2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/ProductRevisionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/ProductRevisionItemRequestBuilder.java
@@ -134,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}/revisions/{productRevision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProductRevision body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}/revisions/{productRevision%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/catalogentry/CatalogEntryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/catalogentry/CatalogEntryRequestBuilder.java
index 140f4b42021..40c3649f20a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/catalogentry/CatalogEntryRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/catalogentry/CatalogEntryRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}/revisions/{productRevision%2Did}/catalogEntry", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CatalogEntry body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}/revisions/{productRevision%2Did}/catalogEntry", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/knowledgebasearticle/KnowledgeBaseArticleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/knowledgebasearticle/KnowledgeBaseArticleRequestBuilder.java
index ee52f9edb10..882a7d8ea25 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/knowledgebasearticle/KnowledgeBaseArticleRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/products/item/revisions/item/knowledgebasearticle/KnowledgeBaseArticleRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/products/{product%2Did}/revisions/{productRevision%2Did}/knowledgeBaseArticle", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final KnowledgeBaseArticle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/products/{product%2Did}/revisions/{productRevision%2Did}/knowledgeBaseArticle", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/ResourceConnectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/ResourceConnectionsRequestBuilder.java
index ed96317208b..db2658ad400 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/ResourceConnectionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/ResourceConnectionsRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResourceConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/resourceConnections", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java
index 54931a4643b..83fe2fc7c4c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ResourceConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/UpdatableAssetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/UpdatableAssetsRequestBuilder.java
index 7076d1ed5db..e0d84cbc2b3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/UpdatableAssetsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/UpdatableAssetsRequestBuilder.java
@@ -184,7 +184,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/updatableAssets", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java
index afbe3f620cb..4a940d9aaca 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java
@@ -73,18 +73,18 @@ public UpdatableAssetItemRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
+ * Delete an updatableAsset object.
* @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 azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
+ * Delete an updatableAsset object.
* @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);
@@ -93,21 +93,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read the properties and relationships of an updatableAsset object.
+ * Read the properties of an azureADDevice object.
* @return a {@link UpdatableAsset}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public UpdatableAsset get() {
return get(null);
}
/**
- * Read the properties and relationships of an updatableAsset object.
+ * Read the properties of an azureADDevice object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link UpdatableAsset}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public UpdatableAsset get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -142,7 +142,7 @@ public UpdatableAsset patch(@jakarta.annotation.Nonnull final UpdatableAsset bod
return this.requestAdapter.send(requestInfo, errorMapping, UpdatableAsset::createFromDiscriminatorValue);
}
/**
- * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
+ * Delete an updatableAsset object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -150,19 +150,19 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered from the deployment service and automatically unenrolled from management by the service for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
+ * Delete an updatableAsset object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
}
/**
- * Read the properties and relationships of an updatableAsset object.
+ * Read the properties of an azureADDevice object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -170,7 +170,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read the properties and relationships of an updatableAsset object.
+ * Read the properties of an azureADDevice object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -199,7 +199,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
@@ -222,7 +222,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read the properties and relationships of an updatableAsset object.
+ * Read the properties of an azureADDevice object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/UpdatePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/UpdatePoliciesRequestBuilder.java
index cd77704663d..5024d663b1a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/UpdatePoliciesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/UpdatePoliciesRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/updatePolicies", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/UpdatePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/UpdatePolicyItemRequestBuilder.java
index 9d16b08a936..12f29e56b4c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/UpdatePolicyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/UpdatePolicyItemRequestBuilder.java
@@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -183,7 +183,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/AudienceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/AudienceRequestBuilder.java
index 16c82c079a6..d04e972201a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/AudienceRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/AudienceRequestBuilder.java
@@ -161,7 +161,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -204,7 +204,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeploymentAudience body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/ApplicableContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/ApplicableContentRequestBuilder.java
index ff6981832fd..07be3e64922 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/ApplicableContentRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/ApplicableContentRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApplicableContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
index 95633058885..da585db1752 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/ApplicableContentCatalogEntryItemRequestBuilder.java
@@ -134,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApplicableContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
index bab4db23802..7e8d9d35f76 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/MatchedDevicesRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApplicableContentDeviceMatch body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
index 7de9e2a041e..37a1f453951 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/applicablecontent/item/matcheddevices/item/ApplicableContentDeviceMatchDeviceItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ApplicableContentDeviceMatch body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/ExclusionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/ExclusionsRequestBuilder.java
index db108c4bf31..741f6e8c83f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/ExclusionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/ExclusionsRequestBuilder.java
@@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/exclusions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java
index 5dd05c8b502..b5a1c563aa9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/exclusions/item/UpdatableAssetItemRequestBuilder.java
@@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/exclusions/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -195,7 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/exclusions/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/MembersRequestBuilder.java
index 6d6e8c7f3c6..89f636e9057 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/MembersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/MembersRequestBuilder.java
@@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/members", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/item/UpdatableAssetItemRequestBuilder.java
index ca911363263..e4364e27be2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/audience/members/item/UpdatableAssetItemRequestBuilder.java
@@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/members/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -195,7 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UpdatableAsset body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/audience/members/{updatableAsset%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/ComplianceChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/ComplianceChangesRequestBuilder.java
index 0b63746e8af..e63f59ba0f9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/ComplianceChangesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/ComplianceChangesRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java
index 2545747f346..26f51afcf05 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java
@@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -174,7 +174,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/AdministrativeUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/AdministrativeUnitsRequestBuilder.java
index efc39a64676..e5c7cae5457 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/AdministrativeUnitsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/AdministrativeUnitsRequestBuilder.java
@@ -184,7 +184,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AdministrativeUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/administrativeUnits", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/AdministrativeUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/AdministrativeUnitItemRequestBuilder.java
index 57795305746..a0fe7f6abdd 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/AdministrativeUnitItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/AdministrativeUnitItemRequestBuilder.java
@@ -194,7 +194,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -237,7 +237,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdministrativeUnit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/ExtensionsRequestBuilder.java
index b54e951a944..411b05f90c7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/ExtensionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/ExtensionsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Extension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/extensions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/item/ExtensionItemRequestBuilder.java
index c5b55edc0a1..2965371c1fb 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/item/ExtensionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/extensions/item/ExtensionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/extensions/{extension%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Extension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/extensions/{extension%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/MembersRequestBuilder.java
index 5449c37ddad..3d826bb05ae 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/MembersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/MembersRequestBuilder.java
@@ -209,7 +209,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryObject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java
index d097b0ba919..0f03a86b1b8 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/members/ref/RefRequestBuilder.java
@@ -27,7 +27,7 @@ public class RefRequestBuilder extends BaseRequestBuilder {
* @param requestAdapter The request adapter to use to execute the requests.
*/
public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
+ super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
}
/**
* Instantiates a new {@link RefRequestBuilder} and sets the default values.
@@ -35,7 +35,7 @@ public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/ScopedRoleMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/ScopedRoleMembersRequestBuilder.java
index b649e0645ba..16618303d30 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/ScopedRoleMembersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/ScopedRoleMembersRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ScopedRoleMembership body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/scopedRoleMembers", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/item/ScopedRoleMembershipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/item/ScopedRoleMembershipItemRequestBuilder.java
index c1b93dd8748..a33ecd408b7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/item/ScopedRoleMembershipItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/scopedrolemembers/item/ScopedRoleMembershipItemRequestBuilder.java
@@ -120,7 +120,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/scopedRoleMembers/{scopedRoleMembership%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ScopedRoleMembership body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/scopedRoleMembers/{scopedRoleMembership%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/AgreementAcceptancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/AgreementAcceptancesRequestBuilder.java
index 8357df27bfa..48c304656e7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/AgreementAcceptancesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/AgreementAcceptancesRequestBuilder.java
@@ -135,7 +135,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/agreementAcceptances", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java
index 52074b9ba8b..9d6c088b6cd 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreementAcceptances/{agreementAcceptance%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreementAcceptances/{agreementAcceptance%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/AgreementsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/AgreementsRequestBuilder.java
index cc3e24fcd33..22f6099a5c1 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/AgreementsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/AgreementsRequestBuilder.java
@@ -135,7 +135,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Agreement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/agreements", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/AgreementItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/AgreementItemRequestBuilder.java
index 023aba319e1..9dfdd5f7a5f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/AgreementItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/AgreementItemRequestBuilder.java
@@ -143,7 +143,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreements/{agreement%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -186,7 +186,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Agreement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreements/{agreement%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/AcceptancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/AcceptancesRequestBuilder.java
index 839c034c37d..939515a688d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/AcceptancesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/AcceptancesRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/agreements/{agreement%2Did}/acceptances", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java
index c8c260c5f0c..debefca078c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreements/{agreement%2Did}/acceptances/{agreementAcceptance%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementAcceptance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreements/{agreement%2Did}/acceptances/{agreementAcceptance%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/FileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/FileRequestBuilder.java
index ad5fcd47073..61b82dda68a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/FileRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/FileRequestBuilder.java
@@ -127,7 +127,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreements/{agreement%2Did}/file", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -170,7 +170,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreements/{agreement%2Did}/file", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/LocalizationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/LocalizationsRequestBuilder.java
index d2df5894882..0258b3b22fd 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/LocalizationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/LocalizationsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/agreements/{agreement%2Did}/file/localizations", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java
index f89d477380a..7518cf454a8 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreements/{agreement%2Did}/file/localizations/{agreementFileLocalization%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreements/{agreement%2Did}/file/localizations/{agreementFileLocalization%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java
index 32d6eab3c13..fc01eadce75 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/agreements/{agreement%2Did}/file/localizations/{agreementFileLocalization%2Did}/versions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java
index 33d86259d26..40d7a6a2957 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreements/{agreement%2Did}/file/localizations/{agreementFileLocalization%2Did}/versions/{agreementFileVersion%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreements/{agreement%2Did}/file/localizations/{agreementFileLocalization%2Did}/versions/{agreementFileVersion%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/FilesRequestBuilder.java
index 88066e0ec1b..c402ce150d1 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/FilesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/FilesRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/agreements/{agreement%2Did}/files", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java
index 0b9338100e2..2458b82c859 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileLocalization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/VersionsRequestBuilder.java
index 51cf79b6909..646b0a9a624 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/VersionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/VersionsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java
index f83235f3ba1..5c917626e19 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions/{agreementFileVersion%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AgreementFileVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/agreements/{agreement%2Did}/files/{agreementFileLocalization%2Did}/versions/{agreementFileVersion%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/AllowedDataLocationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/AllowedDataLocationsRequestBuilder.java
index 95621714452..37f3c8a0f7b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/AllowedDataLocationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/AllowedDataLocationsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AllowedDataLocation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/allowedDataLocations", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/item/AllowedDataLocationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/item/AllowedDataLocationItemRequestBuilder.java
index 654b092382f..73369b8639a 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/item/AllowedDataLocationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/alloweddatalocations/item/AllowedDataLocationItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/allowedDataLocations/{allowedDataLocation%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AllowedDataLocation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/allowedDataLocations/{allowedDataLocation%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/AppRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/AppRequestBuilder.java
index 8d7bde914db..ba31fd5c7e2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/AppRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/AppRequestBuilder.java
@@ -150,7 +150,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CommsApplication body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/CallsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/CallsRequestBuilder.java
index 3d8c9b12c98..b0d261904e5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/CallsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/CallsRequestBuilder.java
@@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Call body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/calls", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/CallItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/CallItemRequestBuilder.java
index 6b30280b685..0a463dfeed7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/CallItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/CallItemRequestBuilder.java
@@ -296,7 +296,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/calls/{call%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -339,7 +339,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Call body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/calls/{call%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/AudioRoutingGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/AudioRoutingGroupsRequestBuilder.java
index b46226c8776..5761fc8b169 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/AudioRoutingGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/AudioRoutingGroupsRequestBuilder.java
@@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AudioRoutingGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/calls/{call%2Did}/audioRoutingGroups", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/item/AudioRoutingGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/item/AudioRoutingGroupItemRequestBuilder.java
index 6dc3b6ae39e..cb1486a8c61 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/item/AudioRoutingGroupItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/audioroutinggroups/item/AudioRoutingGroupItemRequestBuilder.java
@@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/calls/{call%2Did}/audioRoutingGroups/{audioRoutingGroup%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -165,7 +165,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AudioRoutingGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/calls/{call%2Did}/audioRoutingGroups/{audioRoutingGroup%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/ContentSharingSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/ContentSharingSessionsRequestBuilder.java
index 863d8344564..e682c110b5c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/ContentSharingSessionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/ContentSharingSessionsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ContentSharingSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/calls/{call%2Did}/contentSharingSessions", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/item/ContentSharingSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/item/ContentSharingSessionItemRequestBuilder.java
index acfe898f11c..8465d062657 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/item/ContentSharingSessionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/contentsharingsessions/item/ContentSharingSessionItemRequestBuilder.java
@@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/calls/{call%2Did}/contentSharingSessions/{contentSharingSession%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -161,7 +161,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ContentSharingSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/calls/{call%2Did}/contentSharingSessions/{contentSharingSession%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/OperationsRequestBuilder.java
index d8acc2940cd..41e82527916 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/OperationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/OperationsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CommsOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/calls/{call%2Did}/operations", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/item/CommsOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/item/CommsOperationItemRequestBuilder.java
index e05e43bf0b2..d8928778a62 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/item/CommsOperationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/operations/item/CommsOperationItemRequestBuilder.java
@@ -118,7 +118,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/calls/{call%2Did}/operations/{commsOperation%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -161,7 +161,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CommsOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/calls/{call%2Did}/operations/{commsOperation%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/ParticipantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/ParticipantsRequestBuilder.java
index 074bdb6c070..0df200a31ac 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/ParticipantsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/ParticipantsRequestBuilder.java
@@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Participant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/calls/{call%2Did}/participants", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/item/ParticipantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/item/ParticipantItemRequestBuilder.java
index 2e27986dce2..ea747850f7e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/item/ParticipantItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/item/ParticipantItemRequestBuilder.java
@@ -147,7 +147,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/calls/{call%2Did}/participants/{participant%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -190,7 +190,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Participant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/calls/{call%2Did}/participants/{participant%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java
index 67ac040772a..e7bfc0e1a94 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/OnlineMeetingsRequestBuilder.java
@@ -171,7 +171,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnlineMeeting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/onlineMeetings", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/OnlineMeetingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/OnlineMeetingItemRequestBuilder.java
index d106516c2a4..77d002dd2c7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/OnlineMeetingItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/OnlineMeetingItemRequestBuilder.java
@@ -224,7 +224,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -267,7 +267,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnlineMeeting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/AttendanceReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/AttendanceReportsRequestBuilder.java
index 5c2eb6ed7bc..5d048a77d4d 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/AttendanceReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/AttendanceReportsRequestBuilder.java
@@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/attendanceReports", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java
index 75f6dec18eb..1471617412f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java
index 52b533906ba..2d77d52bd52 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java
index c7b414b7802..7bf4e73f7fa 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/attendanceReports/{meetingAttendanceReport%2Did}/attendanceRecords/{attendanceRecord%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/MeetingAttendanceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/MeetingAttendanceReportRequestBuilder.java
index 6760d56ddb4..e7d3e72d5bf 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/MeetingAttendanceReportRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/MeetingAttendanceReportRequestBuilder.java
@@ -127,7 +127,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/meetingAttendanceReport", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -170,7 +170,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingAttendanceReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/meetingAttendanceReport", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/AttendanceRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/AttendanceRecordsRequestBuilder.java
index 88e56ceeee6..777d6e49d83 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/AttendanceRecordsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/AttendanceRecordsRequestBuilder.java
@@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/meetingAttendanceReport/attendanceRecords", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/item/AttendanceRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/item/AttendanceRecordItemRequestBuilder.java
index 7bdfaaf19aa..c48f0532056 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/item/AttendanceRecordItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/meetingattendancereport/attendancerecords/item/AttendanceRecordItemRequestBuilder.java
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/meetingAttendanceReport/attendanceRecords/{attendanceRecord%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AttendanceRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/meetingAttendanceReport/attendanceRecords/{attendanceRecord%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/RecordingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/RecordingsRequestBuilder.java
index 0951d74e614..9a3507cd74c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/RecordingsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/RecordingsRequestBuilder.java
@@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CallRecording body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/recordings", pathParameters);
+ 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);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/item/CallRecordingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/item/CallRecordingItemRequestBuilder.java
index 923ac6553a9..8e0af22df5f 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/item/CallRecordingItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/recordings/item/CallRecordingItemRequestBuilder.java
@@ -127,7 +127,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
@@ -170,7 +170,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CallRecording body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/recordings/{callRecording%2Did}", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/RegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/RegistrationRequestBuilder.java
index e59c0bff28e..6baf5ce6535 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/RegistrationRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/RegistrationRequestBuilder.java
@@ -55,18 +55,18 @@ public RegistrationRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
super(requestAdapter, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/registration{?%24expand,%24select}", rawUrl);
}
/**
- * Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
+ * Disable and delete the externalMeetingRegistration of an onlineMeeting.
* @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);
}
/**
- * Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
+ * Disable and delete the externalMeetingRegistration of an onlineMeeting.
* @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);
@@ -75,21 +75,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get the externalMeetingRegistration details associated with an onlineMeeting.
+ * Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
* @return a {@link MeetingRegistration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MeetingRegistration get() {
return get(null);
}
/**
- * Get the externalMeetingRegistration details associated with an onlineMeeting.
+ * Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MeetingRegistration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MeetingRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -126,7 +126,7 @@ public MeetingRegistration patch(@jakarta.annotation.Nonnull final MeetingRegist
return this.requestAdapter.send(requestInfo, errorMapping, MeetingRegistration::createFromDiscriminatorValue);
}
/**
- * Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
+ * Disable and delete the externalMeetingRegistration of an onlineMeeting.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -134,19 +134,19 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
+ * Disable and delete the externalMeetingRegistration of an onlineMeeting.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/registration", pathParameters);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
requestInfo.headers.tryAdd("Accept", "application/json");
return requestInfo;
}
/**
- * Get the externalMeetingRegistration details associated with an onlineMeeting.
+ * Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -154,7 +154,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get the externalMeetingRegistration details associated with an onlineMeeting.
+ * Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -183,7 +183,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
@jakarta.annotation.Nonnull
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MeetingRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer