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 requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/registration", 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); @@ -206,7 +206,7 @@ public RegistrationRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get the externalMeetingRegistration details associated with an onlineMeeting. + * Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java index 9740f4311d7..583bd52b7eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingRegistrationQuestion 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}/registration/customQuestions", 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/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.java index e1c14654990..19c91036c01 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.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/onlineMeetings/{onlineMeeting%2Did}/registration/customQuestions/{meetingRegistrationQuestion%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 MeetingRegistrationQuestion 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}/registration/customQuestions/{meetingRegistrationQuestion%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/registrants/RegistrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/registrants/RegistrantsRequestBuilder.java index ab92a796bc9..702b7f55922 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/registrants/RegistrantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/registrants/RegistrantsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingRegistrantBase 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}/registration/registrants", 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/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.java index 0a4f2aa5e17..7d83e653e52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.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}/registration/registrants/{meetingRegistrantBase%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 MeetingRegistrantBase 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}/registration/registrants/{meetingRegistrantBase%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/transcripts/TranscriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java index 521b506a17a..8eaf3c08039 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CallTranscript 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}/transcripts", 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/transcripts/item/CallTranscriptItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/transcripts/item/CallTranscriptItemRequestBuilder.java index 66915d3ffac..7cd0e3127f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/transcripts/item/CallTranscriptItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/transcripts/item/CallTranscriptItemRequestBuilder.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}/app/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%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 CallTranscript 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}/transcripts/{callTranscript%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/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.java index 0f3133799e8..5a9baa484e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.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}/app/onlineMeetings(joinWebUrl='{joinWebUrl}')", 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 OnlineMeeting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/app/onlineMeetings(joinWebUrl='{joinWebUrl}')", 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/appcatalogs/AppCatalogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/AppCatalogsRequestBuilder.java index cebe2252492..b70dd947bf1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/AppCatalogsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/AppCatalogsRequestBuilder.java @@ -130,7 +130,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppCatalogs body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs", 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/appcatalogs/teamsapps/TeamsAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/TeamsAppsRequestBuilder.java index b889e5edc37..677393d53f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/TeamsAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/TeamsAppsRequestBuilder.java @@ -60,7 +60,7 @@ public TeamsAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/appCatalogs/teamsApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + * List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. * @return a {@link TeamsAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public TeamsAppCollectionResponse get() { return get(null); } /** - * List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + * List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TeamsAppCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -111,7 +111,7 @@ public TeamsApp post(@jakarta.annotation.Nonnull final TeamsApp body, @jakarta.a return this.requestAdapter.send(requestInfo, errorMapping, TeamsApp::createFromDiscriminatorValue); } /** - * List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + * List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + * List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/appCatalogs/teamsApps", 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); @@ -165,7 +165,7 @@ public TeamsAppsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new TeamsAppsRequestBuilder(rawUrl, requestAdapter); } /** - * List apps from the Microsoft Teams app catalog.It includes apps from the Microsoft Teams store, and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. + * List apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/TeamsAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/TeamsAppItemRequestBuilder.java index 2fb9b2c8df2..16b6977f959 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/TeamsAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/TeamsAppItemRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%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 TeamsApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%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/appcatalogs/teamsapps/item/appdefinitions/AppDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/AppDefinitionsRequestBuilder.java index 3b980de9fcd..e56c3f8f581 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/AppDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/AppDefinitionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsAppDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions", 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/appcatalogs/teamsapps/item/appdefinitions/item/TeamsAppDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/TeamsAppDefinitionItemRequestBuilder.java index 4bfb2c72e4e..5d840416195 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/TeamsAppDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/TeamsAppDefinitionItemRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%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 TeamsAppDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%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/appcatalogs/teamsapps/item/appdefinitions/item/bot/BotRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/bot/BotRequestBuilder.java index 7e6f4b23612..e2f2857783b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/bot/BotRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/bot/BotRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/bot", 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 TeamworkBot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/bot", 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/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/ColorIconRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/ColorIconRequestBuilder.java index d53c578e9c4..2de763d6087 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/ColorIconRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/ColorIconRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/colorIcon", 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 TeamsAppIcon body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/colorIcon", 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/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/hostedcontent/HostedContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/hostedcontent/HostedContentRequestBuilder.java index c826014c6b8..0b5a1bb76f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/hostedcontent/HostedContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/coloricon/hostedcontent/HostedContentRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/colorIcon/hostedContent", 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 TeamworkHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/colorIcon/hostedContent", 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/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/DashboardCardsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/DashboardCardsRequestBuilder.java index e304a51c61a..8e5b1744098 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/DashboardCardsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/DashboardCardsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsAppDashboardCardDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/dashboardCards", 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/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/item/TeamsAppDashboardCardDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/item/TeamsAppDashboardCardDefinitionItemRequestBuilder.java index 92d2852e7de..7d000a0c29d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/item/TeamsAppDashboardCardDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/item/TeamsAppDashboardCardDefinitionItemRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/dashboardCards/{teamsAppDashboardCardDefinition%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 TeamsAppDashboardCardDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/dashboardCards/{teamsAppDashboardCardDefinition%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/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/OutlineIconRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/OutlineIconRequestBuilder.java index 6f3ccd7ec24..cb461996524 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/OutlineIconRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/OutlineIconRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/outlineIcon", 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 TeamsAppIcon body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/outlineIcon", 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/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/hostedcontent/HostedContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/hostedcontent/HostedContentRequestBuilder.java index bacf973012d..379386154b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/hostedcontent/HostedContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/outlineicon/hostedcontent/HostedContentRequestBuilder.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}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/outlineIcon/hostedContent", 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 TeamworkHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/outlineIcon/hostedContent", 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/applications/ApplicationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/ApplicationsRequestBuilder.java index bfbbc597f00..6fb679f6fdc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/ApplicationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/ApplicationsRequestBuilder.java @@ -184,7 +184,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Application body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications", 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/applications/item/ApplicationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/ApplicationItemRequestBuilder.java index 7aebf8313c3..2ce16635a00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/ApplicationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/ApplicationItemRequestBuilder.java @@ -331,7 +331,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}/applications/{application%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -374,7 +374,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Application body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%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/applications/item/addpassword/AddPasswordRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/addpassword/AddPasswordRequestBuilder.java index f19fde76707..2189875d544 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/addpassword/AddPasswordRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/addpassword/AddPasswordRequestBuilder.java @@ -36,7 +36,7 @@ public AddPasswordRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl super(requestAdapter, "{+baseurl}/applications/{application%2Did}/addPassword", rawUrl); } /** - * Adds a strong password to an application. + * Adds a strong password to an application. You can also add passwords while creating the application. * @param body The request body * @return a {@link PasswordCredential} * @throws ODataError When receiving a 4XX or 5XX status code @@ -47,7 +47,7 @@ public PasswordCredential post(@jakarta.annotation.Nonnull final AddPasswordPost return post(body, null); } /** - * Adds a strong password to an application. + * Adds a strong password to an application. You can also add passwords while creating the application. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PasswordCredential} @@ -63,7 +63,7 @@ public PasswordCredential post(@jakarta.annotation.Nonnull final AddPasswordPost return this.requestAdapter.send(requestInfo, errorMapping, PasswordCredential::createFromDiscriminatorValue); } /** - * Adds a strong password to an application. + * Adds a strong password to an application. You can also add passwords while creating the application. * @param body The request body * @return a {@link RequestInformation} */ @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Adds a strong password to an application. + * Adds a strong password to an application. You can also add passwords while creating the application. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java index 355543926eb..b18edf57b83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/appmanagementpolicies/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}/applications/{application%2Did}/appManagementPolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/applications/{application%2Did}/appManagementPolicies/$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}/applications/{application%2Did}/appManagementPolicies/$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/applications/item/extensionproperties/ExtensionPropertiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/extensionproperties/ExtensionPropertiesRequestBuilder.java index 65c2e2b639a..fdddf589781 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/extensionproperties/ExtensionPropertiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/extensionproperties/ExtensionPropertiesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExtensionProperty body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/extensionProperties", 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/applications/item/extensionproperties/item/ExtensionPropertyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/extensionproperties/item/ExtensionPropertyItemRequestBuilder.java index d967c421c59..812875cd225 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/extensionproperties/item/ExtensionPropertyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/extensionproperties/item/ExtensionPropertyItemRequestBuilder.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}/applications/{application%2Did}/extensionProperties/{extensionProperty%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 ExtensionProperty body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/extensionProperties/{extensionProperty%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/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java index e209072375e..685fe05a062 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/FederatedIdentityCredentialsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/federatedIdentityCredentials", 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/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java index fc47a51721e..c46a8d08c60 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.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}/applications/{application%2Did}/federatedIdentityCredentials/{federatedIdentityCredential%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 FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/federatedIdentityCredentials/{federatedIdentityCredential%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/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java index 322d864f59e..b2fcd44129f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java @@ -124,7 +124,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}/applications/{application%2Did}/federatedIdentityCredentials(name='{name}')", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -167,7 +167,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FederatedIdentityCredential body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/federatedIdentityCredentials(name='{name}')", 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/applications/item/owners/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java index 0720772d9b3..73d0c4173cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/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}/applications/{application%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$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}/applications/{application%2Did}/owners/$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/applications/item/synchronization/SynchronizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/SynchronizationRequestBuilder.java index ee4023b5f48..7eaa9e05714 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/SynchronizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/SynchronizationRequestBuilder.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}/applications/{application%2Did}/synchronization", 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 toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final Synchronization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/applications/{application%2Did}/synchronization", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setContentFromParsable(requestAdapter, "application/json", body); diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/JobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/JobsRequestBuilder.java index 59716c549b0..e001c01d40f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/JobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/JobsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SynchronizationJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/synchronization/jobs", 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/applications/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java index 8413a2fa852..f854191b505 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/SynchronizationJobItemRequestBuilder.java @@ -183,7 +183,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}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -226,7 +226,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%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/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java index b758679f417..1087a8d38d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.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}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/bulkUpload", 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 BulkUpload body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/bulkUpload", 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/applications/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java index 2a33911a314..db9c167f0f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/SchemaRequestBuilder.java @@ -156,7 +156,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}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -199,7 +199,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SynchronizationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema", 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/applications/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java index f9246434313..cf9f6aaa6ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/directories/DirectoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema/directories", 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/applications/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java index 7a5e54261fd..a9e2f826616 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/jobs/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.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}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema/directories/{directoryDefinition%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 DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/schema/directories/{directoryDefinition%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/applications/item/synchronization/templates/TemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/TemplatesRequestBuilder.java index ea296cf11ea..38837e36235 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/TemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/TemplatesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SynchronizationTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/synchronization/templates", 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/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java index 8e12122644c..42445ec8a50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/SynchronizationTemplateItemRequestBuilder.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}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%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 SynchronizationTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%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/applications/item/synchronization/templates/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/SchemaRequestBuilder.java index 8306a4ffc9a..fa5aed634f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/SchemaRequestBuilder.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}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema", 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 SynchronizationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema", 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/applications/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java index 12438bb34cc..b007a60481d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/directories/DirectoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema/directories", 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/applications/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java index 9ea1255bd23..f2869a57080 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/synchronization/templates/item/schema/directories/item/DirectoryDefinitionItemRequestBuilder.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}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema/directories/{directoryDefinition%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 DirectoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications/{application%2Did}/synchronization/templates/{synchronizationTemplate%2Did}/schema/directories/{directoryDefinition%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/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java index d3cc36bde2a..480c981aa00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenissuancepolicies/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenissuancepolicies/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}/applications/{application%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenIssuancePolicies/$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}/applications/{application%2Did}/tokenIssuancePolicies/$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/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java index b39a237206c..506a27e19ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenlifetimepolicies/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/tokenlifetimepolicies/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}/applications/{application%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/applications/{application%2Did}/tokenLifetimePolicies/$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}/applications/{application%2Did}/tokenLifetimePolicies/$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/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java index 4c8217cff3a..cbf46ed0d51 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applicationswithappid/ApplicationsWithAppIdRequestBuilder.java @@ -124,7 +124,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}/applications(appId='{appId}')", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -167,7 +167,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Application body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications(appId='{appId}')", 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/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java index bbb31bb8430..59551e375ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/applicationswithuniquename/ApplicationsWithUniqueNameRequestBuilder.java @@ -124,7 +124,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}/applications(uniqueName='{uniqueName}')", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -167,7 +167,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Application body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/applications(uniqueName='{uniqueName}')", 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/approleassignments/AppRoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java index e4058c25ad7..389483c5227 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/appRoleAssignments", 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/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java index 8f6daf18d61..391f943b595 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/AppRoleAssignmentItemRequestBuilder.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}/appRoleAssignments/{appRoleAssignment%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 AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/appRoleAssignments/{appRoleAssignment%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/approvalworkflowproviders/ApprovalWorkflowProvidersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/ApprovalWorkflowProvidersRequestBuilder.java index 44b26998654..9ea5b6d6c38 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/ApprovalWorkflowProvidersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/ApprovalWorkflowProvidersRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalWorkflowProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/approvalWorkflowProviders", 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/approvalworkflowproviders/item/ApprovalWorkflowProviderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/ApprovalWorkflowProviderItemRequestBuilder.java index b07650e6512..e3b83bf4ad0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/ApprovalWorkflowProviderItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/ApprovalWorkflowProviderItemRequestBuilder.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}/approvalWorkflowProviders/{approvalWorkflowProvider%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 ApprovalWorkflowProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/approvalWorkflowProviders/{approvalWorkflowProvider%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/approvalworkflowproviders/item/businessflows/BusinessFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflows/BusinessFlowsRequestBuilder.java index 2fdb4a083ab..99fb1d278e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflows/BusinessFlowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflows/BusinessFlowsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BusinessFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/businessFlows", 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/approvalworkflowproviders/item/businessflows/item/BusinessFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflows/item/BusinessFlowItemRequestBuilder.java index ae32bacbfc9..a5a353bcba0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflows/item/BusinessFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflows/item/BusinessFlowItemRequestBuilder.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}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/businessFlows/{businessFlow%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 BusinessFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/businessFlows/{businessFlow%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/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/BusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/BusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder.java index d9c7e0d2e75..793b0992121 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/BusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/BusinessFlowsWithRequestsAwaitingMyDecisionRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BusinessFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/businessFlowsWithRequestsAwaitingMyDecision", 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/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/item/BusinessFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/item/BusinessFlowItemRequestBuilder.java index f2d6a6e0c89..3fa136d08fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/item/BusinessFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/businessflowswithrequestsawaitingmydecision/item/BusinessFlowItemRequestBuilder.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}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/businessFlowsWithRequestsAwaitingMyDecision/{businessFlow%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 BusinessFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/businessFlowsWithRequestsAwaitingMyDecision/{businessFlow%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/approvalworkflowproviders/item/policytemplates/PolicyTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/policytemplates/PolicyTemplatesRequestBuilder.java index 44ac4712f9f..ff363690919 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/policytemplates/PolicyTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/policytemplates/PolicyTemplatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/policyTemplates", 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/approvalworkflowproviders/item/policytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/policytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java index 4d9f540140a..07d90914ea6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/policytemplates/item/GovernancePolicyTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/approvalworkflowproviders/item/policytemplates/item/GovernancePolicyTemplateItemRequestBuilder.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}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/policyTemplates/{governancePolicyTemplate%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 GovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/approvalWorkflowProviders/{approvalWorkflowProvider%2Did}/policyTemplates/{governancePolicyTemplate%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/auditlogs/AuditLogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/AuditLogsRequestBuilder.java index 2f74a07ae7a..5b8d48b4aaa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/AuditLogsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/AuditLogsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AuditLogRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/auditLogs", 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/auditlogs/customsecurityattributeaudits/CustomSecurityAttributeAuditsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/customsecurityattributeaudits/CustomSecurityAttributeAuditsRequestBuilder.java index 79704157b26..f9a6d7ea826 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/customsecurityattributeaudits/CustomSecurityAttributeAuditsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/customsecurityattributeaudits/CustomSecurityAttributeAuditsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomSecurityAttributeAudit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/auditLogs/customSecurityAttributeAudits", 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/auditlogs/customsecurityattributeaudits/item/CustomSecurityAttributeAuditItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/customsecurityattributeaudits/item/CustomSecurityAttributeAuditItemRequestBuilder.java index c4279b2ac75..66ed2352773 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/customsecurityattributeaudits/item/CustomSecurityAttributeAuditItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/customsecurityattributeaudits/item/CustomSecurityAttributeAuditItemRequestBuilder.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}/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit%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 CustomSecurityAttributeAudit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/auditLogs/customSecurityAttributeAudits/{customSecurityAttributeAudit%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/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java index 228882bcbd4..fd08a4d4319 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryaudits/DirectoryAuditsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryAudit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/auditLogs/directoryAudits", 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/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.java index 010b4120369..a44eddb39ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryaudits/item/DirectoryAuditItemRequestBuilder.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}/auditLogs/directoryAudits/{directoryAudit%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 DirectoryAudit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/auditLogs/directoryAudits/{directoryAudit%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/auditlogs/directoryprovisioning/DirectoryProvisioningRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryprovisioning/DirectoryProvisioningRequestBuilder.java index 404b32f1f98..54a935dd386 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryprovisioning/DirectoryProvisioningRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryprovisioning/DirectoryProvisioningRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisioningObjectSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/auditLogs/directoryProvisioning", 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/auditlogs/directoryprovisioning/item/ProvisioningObjectSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryprovisioning/item/ProvisioningObjectSummaryItemRequestBuilder.java index 6a0e6587736..0502cd55d76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryprovisioning/item/ProvisioningObjectSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/directoryprovisioning/item/ProvisioningObjectSummaryItemRequestBuilder.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}/auditLogs/directoryProvisioning/{provisioningObjectSummary%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 ProvisioningObjectSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/auditLogs/directoryProvisioning/{provisioningObjectSummary%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/auditlogs/provisioning/ProvisioningRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/provisioning/ProvisioningRequestBuilder.java index 05110515234..2d739bee927 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/provisioning/ProvisioningRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/provisioning/ProvisioningRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisioningObjectSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/auditLogs/provisioning", 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/auditlogs/provisioning/item/ProvisioningObjectSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/provisioning/item/ProvisioningObjectSummaryItemRequestBuilder.java index 9f19fbe1d3a..80b0cb0f041 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/provisioning/item/ProvisioningObjectSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/provisioning/item/ProvisioningObjectSummaryItemRequestBuilder.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}/auditLogs/provisioning/{provisioningObjectSummary%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 ProvisioningObjectSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/auditLogs/provisioning/{provisioningObjectSummary%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/auditlogs/signins/SignInsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/signins/SignInsRequestBuilder.java index 7f445566f45..181fcbd7866 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/signins/SignInsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/signins/SignInsRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SignIn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/auditLogs/signIns", 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/auditlogs/signins/item/SignInItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/signins/item/SignInItemRequestBuilder.java index fbc544021d6..9ee6c5a33ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/auditlogs/signins/item/SignInItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/auditlogs/signins/item/SignInItemRequestBuilder.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}/auditLogs/signIns/{signIn%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 SignIn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/auditLogs/signIns/{signIn%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/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java index af479f2ed86..10df82efffc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationMethodConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/authenticationMethodConfigurations", 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/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.java index 33c4c5320b2..6bf6fe9a47a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.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}/authenticationMethodConfigurations/{authenticationMethodConfiguration%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 AuthenticationMethodConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/authenticationMethodConfigurations/{authenticationMethodConfiguration%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/authenticationmethodspolicy/AuthenticationMethodsPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/AuthenticationMethodsPolicyRequestBuilder.java index 49cb1feb942..aaaf594cfa6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/AuthenticationMethodsPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/AuthenticationMethodsPolicyRequestBuilder.java @@ -130,7 +130,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AuthenticationMethodsPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/authenticationMethodsPolicy", 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/authenticationmethodspolicy/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java index 028ea76cf6e..8610164c5cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/authenticationmethodconfigurations/AuthenticationMethodConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationMethodConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/authenticationMethodsPolicy/authenticationMethodConfigurations", 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/authenticationmethodspolicy/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.java index 6dd6617bef8..aac4fe5eaab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/authenticationmethodspolicy/authenticationmethodconfigurations/item/AuthenticationMethodConfigurationItemRequestBuilder.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}/authenticationMethodsPolicy/authenticationMethodConfigurations/{authenticationMethodConfiguration%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 AuthenticationMethodConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/authenticationMethodsPolicy/authenticationMethodConfigurations/{authenticationMethodConfiguration%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/bookingbusinesses/BookingBusinessesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/BookingBusinessesRequestBuilder.java index a735f9f50a2..16a93b31a2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/BookingBusinessesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/BookingBusinessesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingBusiness body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/bookingBusinesses", 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/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java index 2543cae20e6..3f1ea51ffcf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/BookingBusinessItemRequestBuilder.java @@ -197,7 +197,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}/bookingBusinesses/{bookingBusiness%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -240,7 +240,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final BookingBusiness body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/bookingBusinesses/{bookingBusiness%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/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java index a7ef4c5cd90..91817e81cc2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/appointments/AppointmentsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/appointments", 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/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.java index b421774a6e2..d3b0b3275d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/appointments/item/BookingAppointmentItemRequestBuilder.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}/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%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 BookingAppointment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/appointments/{bookingAppointment%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/bookingbusinesses/item/customers/CustomersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customers/CustomersRequestBuilder.java index 0b86d1a383d..3c71842d95e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customers/CustomersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customers/CustomersRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCustomer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/customers", 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/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.java index 2fae47638c5..b3bba523824 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customers/item/BookingCustomerItemRequestBuilder.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}/bookingBusinesses/{bookingBusiness%2Did}/customers/{bookingCustomer%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 BookingCustomer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/customers/{bookingCustomer%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/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java index 0f57e52afc6..8af616e67c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customquestions/CustomQuestionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCustomQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/customQuestions", 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/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.java index 976240b58ea..1e4c495f9f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/customquestions/item/BookingCustomQuestionItemRequestBuilder.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}/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%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 BookingCustomQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/customQuestions/{bookingCustomQuestion%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/bookingbusinesses/item/services/ServicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/services/ServicesRequestBuilder.java index e16441313b0..55848d308b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/services/ServicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/services/ServicesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingService body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/services", 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/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.java index 49b659b964b..47aa49a4f29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/services/item/BookingServiceItemRequestBuilder.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}/bookingBusinesses/{bookingBusiness%2Did}/services/{bookingService%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 BookingService body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/services/{bookingService%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/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java index e847c364ecd..def4859a5d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/staffmembers/StaffMembersRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingStaffMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/staffMembers", 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/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.java index 58a5d29710b..5de5ecf62cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingbusinesses/item/staffmembers/item/BookingStaffMemberItemRequestBuilder.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}/bookingBusinesses/{bookingBusiness%2Did}/staffMembers/{bookingStaffMember%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 BookingStaffMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/bookingBusinesses/{bookingBusiness%2Did}/staffMembers/{bookingStaffMember%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/bookingcurrencies/BookingCurrenciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingcurrencies/BookingCurrenciesRequestBuilder.java index eebc4182c7a..637ddc90778 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingcurrencies/BookingCurrenciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingcurrencies/BookingCurrenciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BookingCurrency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/bookingCurrencies", 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/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.java index 67c99a52cb6..4ca5910be7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/bookingcurrencies/item/BookingCurrencyItemRequestBuilder.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}/bookingCurrencies/{bookingCurrency%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 BookingCurrency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/bookingCurrencies/{bookingCurrency%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/businessflowtemplates/BusinessFlowTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/businessflowtemplates/BusinessFlowTemplatesRequestBuilder.java index 7d2c3140dc2..f28155c1419 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/businessflowtemplates/BusinessFlowTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/businessflowtemplates/BusinessFlowTemplatesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BusinessFlowTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/businessFlowTemplates", 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/businessflowtemplates/item/BusinessFlowTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/businessflowtemplates/item/BusinessFlowTemplateItemRequestBuilder.java index ab198a6eb59..8bf7ebdb677 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/businessflowtemplates/item/BusinessFlowTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/businessflowtemplates/item/BusinessFlowTemplateItemRequestBuilder.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}/businessFlowTemplates/{businessFlowTemplate%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 BusinessFlowTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/businessFlowTemplates/{businessFlowTemplate%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/certificatebasedauthconfiguration/CertificateBasedAuthConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/certificatebasedauthconfiguration/CertificateBasedAuthConfigurationRequestBuilder.java index 82a26cd8bf2..3447c3ff931 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/certificatebasedauthconfiguration/CertificateBasedAuthConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/certificatebasedauthconfiguration/CertificateBasedAuthConfigurationRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CertificateBasedAuthConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/certificateBasedAuthConfiguration", 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/certificatebasedauthconfiguration/item/CertificateBasedAuthConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/certificatebasedauthconfiguration/item/CertificateBasedAuthConfigurationItemRequestBuilder.java index 49592de7bdb..eee61ce3b1e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/certificatebasedauthconfiguration/item/CertificateBasedAuthConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/certificatebasedauthconfiguration/item/CertificateBasedAuthConfigurationItemRequestBuilder.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}/certificateBasedAuthConfiguration/{certificateBasedAuthConfiguration%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 CertificateBasedAuthConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/certificateBasedAuthConfiguration/{certificateBasedAuthConfiguration%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/chats/ChatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/ChatsRequestBuilder.java index a885ede356b..4fca2fec43f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/ChatsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/ChatsRequestBuilder.java @@ -175,7 +175,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Chat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats", 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/chats/item/ChatItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/ChatItemRequestBuilder.java index 414517fc1aa..b41a5818260 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/ChatItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/ChatItemRequestBuilder.java @@ -248,7 +248,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}/chats/{chat%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -291,7 +291,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Chat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%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/chats/item/installedapps/InstalledAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/installedapps/InstalledAppsRequestBuilder.java index 537e4b2e59a..bbba0d9bc9f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/installedapps/InstalledAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/installedapps/InstalledAppsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsAppInstallation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/installedApps", 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/chats/item/installedapps/item/TeamsAppInstallationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/installedapps/item/TeamsAppInstallationItemRequestBuilder.java index 339dadeb949..e952c415084 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/installedapps/item/TeamsAppInstallationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/installedapps/item/TeamsAppInstallationItemRequestBuilder.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}/chats/{chat%2Did}/installedApps/{teamsAppInstallation%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 TeamsAppInstallation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/installedApps/{teamsAppInstallation%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/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.java index 8115a44ef8f..979d240a9aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.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}/chats/{chat%2Did}/lastMessagePreview", 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 ChatMessageInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/lastMessagePreview", 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/chats/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/members/MembersRequestBuilder.java index 151ef46a55b..7becb5efb2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/members/MembersRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%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/chats/item/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java index 56406bca460..23e776ad3e8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.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}/chats/{chat%2Did}/members/{conversationMember%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 ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/members/{conversationMember%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/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java index 9659ca7d20d..ac93cfc3401 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/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/chats/item/messages/item/ChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/ChatMessageItemRequestBuilder.java index a1ec4588eb6..3260680388c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/ChatMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/ChatMessageItemRequestBuilder.java @@ -172,7 +172,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}/chats/{chat%2Did}/messages/{chatMessage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -215,7 +215,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%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/chats/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java index 0787a672f5d..5941efaa265 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java @@ -60,7 +60,7 @@ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public ChatMessageHostedContentCollectionResponse get() { return get(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessa return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageHostedContent::createFromDiscriminatorValue); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents", 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); @@ -163,7 +163,7 @@ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new HostedContentsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java index 2020fa87f85..1e699d79c8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.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}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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/chats/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java index c7cddbf8701..44694b53ab6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies", 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/chats/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java index 94c2789bf20..1c31355ce49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java @@ -163,7 +163,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}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java index c2152e902a1..9c179f64b8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java @@ -60,7 +60,7 @@ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public ChatMessageHostedContentCollectionResponse get() { return get(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessa return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageHostedContent::createFromDiscriminatorValue); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents", 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); @@ -163,7 +163,7 @@ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new HostedContentsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java index 6d264cfa3d4..66704026db0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.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}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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/chats/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/operations/OperationsRequestBuilder.java index 27a821d26fe..87dd890b248 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/operations/OperationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%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/chats/item/operations/item/TeamsAsyncOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/operations/item/TeamsAsyncOperationItemRequestBuilder.java index 0d517e4c901..eff29a2f35d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/operations/item/TeamsAsyncOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/operations/item/TeamsAsyncOperationItemRequestBuilder.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}/chats/{chat%2Did}/operations/{teamsAsyncOperation%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 TeamsAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/operations/{teamsAsyncOperation%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/chats/item/permissiongrants/PermissionGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/permissiongrants/PermissionGrantsRequestBuilder.java index 41d648cf0d5..31f8f5ae5f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/permissiongrants/PermissionGrantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/permissiongrants/PermissionGrantsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResourceSpecificPermissionGrant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/permissionGrants", 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/chats/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java index 6b05e29076f..afcc90e26f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.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}/chats/{chat%2Did}/permissionGrants/{resourceSpecificPermissionGrant%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 ResourceSpecificPermissionGrant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/permissionGrants/{resourceSpecificPermissionGrant%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/chats/item/pinnedmessages/PinnedMessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/pinnedmessages/PinnedMessagesRequestBuilder.java index 0c8bf7a0d89..ee54dd8e0a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/pinnedmessages/PinnedMessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/pinnedmessages/PinnedMessagesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PinnedChatMessageInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/pinnedMessages", 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/chats/item/pinnedmessages/item/PinnedChatMessageInfoItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/pinnedmessages/item/PinnedChatMessageInfoItemRequestBuilder.java index 8d0c44546a0..8c510519cd6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/pinnedmessages/item/PinnedChatMessageInfoItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/pinnedmessages/item/PinnedChatMessageInfoItemRequestBuilder.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}/chats/{chat%2Did}/pinnedMessages/{pinnedChatMessageInfo%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 PinnedChatMessageInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/pinnedMessages/{pinnedChatMessageInfo%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/chats/item/tabs/TabsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/tabs/TabsRequestBuilder.java index 4d03b6f8ee0..9496a438d2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/tabs/TabsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/tabs/TabsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsTab body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/chats/{chat%2Did}/tabs", 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/chats/item/tabs/item/TeamsTabItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/tabs/item/TeamsTabItemRequestBuilder.java index b73d8cae895..7451c6c670d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/tabs/item/TeamsTabItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/tabs/item/TeamsTabItemRequestBuilder.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}/chats/{chat%2Did}/tabs/{teamsTab%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 TeamsTab body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/chats/{chat%2Did}/tabs/{teamsTab%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/commands/CommandsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/commands/CommandsRequestBuilder.java index ff5e036ba5f..1c688f8a5e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/commands/CommandsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/commands/CommandsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Command body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/commands", 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/commands/item/CommandItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/commands/item/CommandItemRequestBuilder.java index 48c5629942f..33a560bedb3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/commands/item/CommandItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/commands/item/CommandItemRequestBuilder.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}/commands/{command%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 Command body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/commands/{command%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/communications/CommunicationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/CommunicationsRequestBuilder.java index 559664de3ad..2ca66ffd3ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/CommunicationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/CommunicationsRequestBuilder.java @@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudCommunications body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications", 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/communications/callrecords/CallRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/CallRecordsRequestBuilder.java index 129e4f8ce7c..e441b16b025 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/CallRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/CallRecordsRequestBuilder.java @@ -212,7 +212,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CallRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/communications/callRecords", 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/communications/callrecords/item/CallRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/CallRecordItemRequestBuilder.java index b6d0225c23e..29dc5640656 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/CallRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/CallRecordItemRequestBuilder.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}/communications/callRecords/{callRecord%2Did}", 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 CallRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/callRecords/{callRecord%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/communications/callrecords/item/organizer_v2/OrganizerV2RequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/organizer_v2/OrganizerV2RequestBuilder.java index eed81b3c890..32bd7dd368d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/organizer_v2/OrganizerV2RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/organizer_v2/OrganizerV2RequestBuilder.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}/communications/callRecords/{callRecord%2Did}/organizer_v2", 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 Organizer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/callRecords/{callRecord%2Did}/organizer_v2", 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/communications/callrecords/item/participants_v2/ParticipantsV2RequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/participants_v2/ParticipantsV2RequestBuilder.java index d800a4b9b28..c8e5f1013b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/participants_v2/ParticipantsV2RequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/participants_v2/ParticipantsV2RequestBuilder.java @@ -146,7 +146,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}/communications/callRecords/{callRecord%2Did}/participants_v2", 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/communications/callrecords/item/participants_v2/item/ParticipantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/participants_v2/item/ParticipantItemRequestBuilder.java index 016a63a0850..03026c38001 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/participants_v2/item/ParticipantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/participants_v2/item/ParticipantItemRequestBuilder.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}/communications/callRecords/{callRecord%2Did}/participants_v2/{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; @@ -159,7 +159,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}/communications/callRecords/{callRecord%2Did}/participants_v2/{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/communications/callrecords/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/SessionsRequestBuilder.java index 02e0d548383..afe0d9100d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/SessionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Session body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions", 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/communications/callrecords/item/sessions/item/SessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/SessionItemRequestBuilder.java index a169b4fccc5..9df7169f217 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/SessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/SessionItemRequestBuilder.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}/communications/callRecords/{callRecord%2Did}/sessions/{session%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 Session body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%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/communications/callrecords/item/sessions/item/segments/SegmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/segments/SegmentsRequestBuilder.java index 4259b33978f..cca99c7d75a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/segments/SegmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/segments/SegmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Segment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments", 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/communications/callrecords/item/sessions/item/segments/item/SegmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/segments/item/SegmentItemRequestBuilder.java index c97d6e3a0c0..4eb9a6f469d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/segments/item/SegmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/callrecords/item/sessions/item/segments/item/SegmentItemRequestBuilder.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}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments/{segment%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 Segment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/callRecords/{callRecord%2Did}/sessions/{session%2Did}/segments/{segment%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/communications/calls/CallsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/CallsRequestBuilder.java index 3f34551eae0..c8417fa9daf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/CallsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/CallsRequestBuilder.java @@ -155,7 +155,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}/communications/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/communications/calls/item/CallItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/CallItemRequestBuilder.java index d90a0f9597e..8bfae1d38a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/CallItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/CallItemRequestBuilder.java @@ -300,7 +300,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}/communications/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; @@ -343,7 +343,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}/communications/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/communications/calls/item/audioroutinggroups/AudioRoutingGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/audioroutinggroups/AudioRoutingGroupsRequestBuilder.java index 6fa8693bbd8..9ec1678ef48 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/audioroutinggroups/AudioRoutingGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/calls/item/audioroutinggroups/item/AudioRoutingGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/audioroutinggroups/item/AudioRoutingGroupItemRequestBuilder.java index f80c48d1125..573dea2f98b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/audioroutinggroups/item/AudioRoutingGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/calls/item/contentsharingsessions/ContentSharingSessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/contentsharingsessions/ContentSharingSessionsRequestBuilder.java index 60a3a35ec07..ca4537d6c05 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/contentsharingsessions/ContentSharingSessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/calls/item/contentsharingsessions/item/ContentSharingSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/contentsharingsessions/item/ContentSharingSessionItemRequestBuilder.java index f1bb55c416e..1a4fee4e49e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/contentsharingsessions/item/ContentSharingSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/calls/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/operations/OperationsRequestBuilder.java index ce5d6337751..d8ea4b33893 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/calls/item/operations/item/CommsOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/operations/item/CommsOperationItemRequestBuilder.java index eedccb43aa8..8dd3ea6c654 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/operations/item/CommsOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/calls/item/participants/ParticipantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/ParticipantsRequestBuilder.java index fe728315f99..5649f0a175c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/ParticipantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/calls/item/participants/item/ParticipantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/item/ParticipantItemRequestBuilder.java index c6be4e49410..9da0717e4c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/item/ParticipantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java index 9c079345992..909fd631dd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/OnlineMeetingsRequestBuilder.java @@ -173,7 +173,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}/communications/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/communications/onlinemeetings/item/OnlineMeetingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/OnlineMeetingItemRequestBuilder.java index bab290498a9..4a918f87853 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/OnlineMeetingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/onlinemeetings/item/attendancereports/AttendanceReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/AttendanceReportsRequestBuilder.java index 15686e25a2b..0563b3a6c39 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/AttendanceReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/onlinemeetings/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java index ced8506f8e7..4c090c6b947 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/item/MeetingAttendanceReportItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/onlinemeetings/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java index 2cd303c3ee2..ccbdd88424a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/item/attendancerecords/AttendanceRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/onlinemeetings/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java index ba6302254b4..d2a4ee00fcb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/attendancereports/item/attendancerecords/item/AttendanceRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/onlinemeetings/item/meetingattendancereport/MeetingAttendanceReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/meetingattendancereport/MeetingAttendanceReportRequestBuilder.java index c6bbe9a3974..94b26caff51 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/meetingattendancereport/MeetingAttendanceReportRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/onlinemeetings/item/meetingattendancereport/attendancerecords/AttendanceRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/meetingattendancereport/attendancerecords/AttendanceRecordsRequestBuilder.java index b2a9c891669..392fcb6874b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/meetingattendancereport/attendancerecords/AttendanceRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/onlinemeetings/item/meetingattendancereport/attendancerecords/item/AttendanceRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/meetingattendancereport/attendancerecords/item/AttendanceRecordItemRequestBuilder.java index 9fa2a1f2149..5de556fcaf1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/meetingattendancereport/attendancerecords/item/AttendanceRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/onlinemeetings/item/recordings/RecordingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/recordings/RecordingsRequestBuilder.java index 4886460a3d7..988a284f483 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/recordings/RecordingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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/communications/onlinemeetings/item/recordings/item/CallRecordingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/recordings/item/CallRecordingItemRequestBuilder.java index bb272e183b6..5effa6be16b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/recordings/item/CallRecordingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/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}/communications/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}/communications/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/communications/onlinemeetings/item/registration/RegistrationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/RegistrationRequestBuilder.java index b2012df42df..3091b388b75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/RegistrationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/RegistrationRequestBuilder.java @@ -55,18 +55,18 @@ public RegistrationRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/communications/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}/communications/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 requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/registration", 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); @@ -206,7 +206,7 @@ public RegistrationRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get the externalMeetingRegistration details associated with an onlineMeeting. + * Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java index 61f2a8bc89e..95e0fdfc369 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/customquestions/CustomQuestionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingRegistrationQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/registration/customQuestions", 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/communications/onlinemeetings/item/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.java index 5831f1c7230..1d6228990c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/customquestions/item/MeetingRegistrationQuestionItemRequestBuilder.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}/communications/onlineMeetings/{onlineMeeting%2Did}/registration/customQuestions/{meetingRegistrationQuestion%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 MeetingRegistrationQuestion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/registration/customQuestions/{meetingRegistrationQuestion%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/communications/onlinemeetings/item/registration/registrants/RegistrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/registrants/RegistrantsRequestBuilder.java index b0ea1ff647e..8b03a443ff0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/registrants/RegistrantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/registrants/RegistrantsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MeetingRegistrantBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/registration/registrants", 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/communications/onlinemeetings/item/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.java index df5ca64e270..f24e2939330 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/registration/registrants/item/MeetingRegistrantBaseItemRequestBuilder.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}/communications/onlineMeetings/{onlineMeeting%2Did}/registration/registrants/{meetingRegistrantBase%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 MeetingRegistrantBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/registration/registrants/{meetingRegistrantBase%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/communications/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java index 984c1c9e0aa..1e447287c26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/transcripts/TranscriptsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CallTranscript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/transcripts", 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/communications/onlinemeetings/item/transcripts/item/CallTranscriptItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/transcripts/item/CallTranscriptItemRequestBuilder.java index d650d20cd21..c9dc8713132 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/transcripts/item/CallTranscriptItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetings/item/transcripts/item/CallTranscriptItemRequestBuilder.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}/communications/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%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 CallTranscript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/transcripts/{callTranscript%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/communications/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.java index c3aa8d9513c..7c67a3d6b1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/onlinemeetingswithjoinweburl/OnlineMeetingsWithJoinWebUrlRequestBuilder.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}/communications/onlineMeetings(joinWebUrl='{joinWebUrl}')", 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 OnlineMeeting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/onlineMeetings(joinWebUrl='{joinWebUrl}')", 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/communications/presences/PresencesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/PresencesRequestBuilder.java index a56bc2bba5f..5804b1ab5ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/presences/PresencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/PresencesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Presence body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/communications/presences", 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/communications/presences/item/PresenceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/PresenceItemRequestBuilder.java index 0954cc527d8..a0aae59ba1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/PresenceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/communications/presences/item/PresenceItemRequestBuilder.java @@ -163,7 +163,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}/communications/presences/{presence%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Presence body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/communications/presences/{presence%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/compliance/ComplianceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ComplianceRequestBuilder.java index 9b6ae7d2572..3007b3c1a2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ComplianceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ComplianceRequestBuilder.java @@ -130,7 +130,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Compliance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance", 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/compliance/ediscovery/EdiscoveryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/EdiscoveryRequestBuilder.java index 4c3cf89c111..83fa2aedd6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/EdiscoveryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/EdiscoveryRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Ediscoveryroot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery", 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/compliance/ediscovery/cases/CasesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/CasesRequestBuilder.java index d00bb062c58..dbbd90c57eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/CasesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/CasesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CaseEscaped body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases", 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/compliance/ediscovery/cases/item/CaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/CaseItemRequestBuilder.java index 40f497c6a72..05b4aa78ea3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/CaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/CaseItemRequestBuilder.java @@ -266,7 +266,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -321,7 +321,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CaseEscaped body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%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/compliance/ediscovery/cases/item/custodians/CustodiansRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/CustodiansRequestBuilder.java index 67738bc7619..23fe89588f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/CustodiansRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/CustodiansRequestBuilder.java @@ -202,7 +202,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Custodian body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians", 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/compliance/ediscovery/cases/item/custodians/item/CustodianItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/CustodianItemRequestBuilder.java index cf532d1cf60..24706923e61 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/CustodianItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/CustodianItemRequestBuilder.java @@ -252,7 +252,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -307,7 +307,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Custodian body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%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/compliance/ediscovery/cases/item/custodians/item/sitesources/SiteSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/sitesources/SiteSourcesRequestBuilder.java index 918e17d2eca..1adde9be84c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/sitesources/SiteSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/sitesources/SiteSourcesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/siteSources", 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/compliance/ediscovery/cases/item/custodians/item/sitesources/item/SiteSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/sitesources/item/SiteSourceItemRequestBuilder.java index 7d9e773800a..0c8d143a1ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/sitesources/item/SiteSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/sitesources/item/SiteSourceItemRequestBuilder.java @@ -156,7 +156,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/siteSources/{siteSource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -211,7 +211,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/siteSources/{siteSource%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/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java index 43056248136..2837fbc515c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedGroupSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/unifiedGroupSources", 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/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java index 4e9a19e4584..ffc0e7ab9de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java @@ -156,7 +156,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/unifiedGroupSources/{unifiedGroupSource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -211,7 +211,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedGroupSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/unifiedGroupSources/{unifiedGroupSource%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/compliance/ediscovery/cases/item/custodians/item/usersources/UserSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/usersources/UserSourcesRequestBuilder.java index 6f5132a1187..e2c35f2c36f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/usersources/UserSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/usersources/UserSourcesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/userSources", 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/compliance/ediscovery/cases/item/custodians/item/usersources/item/UserSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/usersources/item/UserSourceItemRequestBuilder.java index 9b2f23a1aad..ee46e61c9ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/usersources/item/UserSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/custodians/item/usersources/item/UserSourceItemRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/userSources/{userSource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -199,7 +199,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/custodians/{custodian%2Did}/userSources/{userSource%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/compliance/ediscovery/cases/item/legalholds/LegalHoldsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/LegalHoldsRequestBuilder.java index b46f11bea23..f4bd3fa7301 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/LegalHoldsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/LegalHoldsRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LegalHold body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds", 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/compliance/ediscovery/cases/item/legalholds/item/LegalHoldItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/LegalHoldItemRequestBuilder.java index 66f9ebf41bc..05a135f0cff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/LegalHoldItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/LegalHoldItemRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LegalHold body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%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/compliance/ediscovery/cases/item/legalholds/item/sitesources/SiteSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/sitesources/SiteSourcesRequestBuilder.java index 9dc90974d7f..73d39b8d6b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/sitesources/SiteSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/sitesources/SiteSourcesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SiteSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/siteSources", 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/compliance/ediscovery/cases/item/legalholds/item/sitesources/item/SiteSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/sitesources/item/SiteSourceItemRequestBuilder.java index 93a6db6b5e4..ff8078e85c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/sitesources/item/SiteSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/sitesources/item/SiteSourceItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/siteSources/{siteSource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SiteSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/siteSources/{siteSource%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/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java index 38181dba657..abcc87e0a6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/UnifiedGroupSourcesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedGroupSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/unifiedGroupSources", 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/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java index 852d85b22d7..bd82f99fef1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/unifiedgroupsources/item/UnifiedGroupSourceItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/unifiedGroupSources/{unifiedGroupSource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedGroupSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/unifiedGroupSources/{unifiedGroupSource%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/compliance/ediscovery/cases/item/legalholds/item/usersources/UserSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/usersources/UserSourcesRequestBuilder.java index 0202ba1c200..af763e0c7d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/usersources/UserSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/usersources/UserSourcesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/userSources", 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/compliance/ediscovery/cases/item/legalholds/item/usersources/item/UserSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/usersources/item/UserSourceItemRequestBuilder.java index 553f2c501b8..670f1fbb95e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/usersources/item/UserSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/legalholds/item/usersources/item/UserSourceItemRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/userSources/{userSource%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UserSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/legalHolds/{legalHold%2Did}/userSources/{userSource%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/compliance/ediscovery/cases/item/noncustodialdatasources/NoncustodialDataSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/NoncustodialDataSourcesRequestBuilder.java index a3b5baa100f..ffe9fdfb164 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/NoncustodialDataSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/NoncustodialDataSourcesRequestBuilder.java @@ -202,7 +202,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final NoncustodialDataSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/noncustodialDataSources", 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/compliance/ediscovery/cases/item/noncustodialdatasources/item/NoncustodialDataSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/item/NoncustodialDataSourceItemRequestBuilder.java index 7b020081222..7e314885668 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/item/NoncustodialDataSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/item/NoncustodialDataSourceItemRequestBuilder.java @@ -214,7 +214,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/noncustodialDataSources/{noncustodialDataSource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -269,7 +269,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final NoncustodialDataSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/noncustodialDataSources/{noncustodialDataSource%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/compliance/ediscovery/cases/item/noncustodialdatasources/item/datasource/DataSourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/item/datasource/DataSourceRequestBuilder.java index 835826debb6..75cbab97d88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/item/datasource/DataSourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/noncustodialdatasources/item/datasource/DataSourceRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/noncustodialDataSources/{noncustodialDataSource%2Did}/dataSource", 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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DataSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/noncustodialDataSources/{noncustodialDataSource%2Did}/dataSource", 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/compliance/ediscovery/cases/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/operations/OperationsRequestBuilder.java index abe9de66064..fcaced7e92f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/operations/OperationsRequestBuilder.java @@ -186,7 +186,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CaseOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%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/compliance/ediscovery/cases/item/operations/item/CaseOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/operations/item/CaseOperationItemRequestBuilder.java index 51182be807d..783a9877df2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/operations/item/CaseOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/operations/item/CaseOperationItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/operations/{caseOperation%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CaseOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/operations/{caseOperation%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/compliance/ediscovery/cases/item/reviewsets/ReviewSetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/ReviewSetsRequestBuilder.java index 58c722d0037..bf4511d64f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/ReviewSetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/ReviewSetsRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReviewSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/reviewSets", 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/compliance/ediscovery/cases/item/reviewsets/item/ReviewSetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/ReviewSetItemRequestBuilder.java index 2b0266c9add..7805d955a85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/ReviewSetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/ReviewSetItemRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/reviewSets/{reviewSet%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -233,7 +233,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ReviewSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/reviewSets/{reviewSet%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/compliance/ediscovery/cases/item/reviewsets/item/queries/QueriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/queries/QueriesRequestBuilder.java index eb3e6b9ee9f..f15da8310b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/queries/QueriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/queries/QueriesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReviewSetQuery body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/reviewSets/{reviewSet%2Did}/queries", 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/compliance/ediscovery/cases/item/reviewsets/item/queries/item/ReviewSetQueryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/queries/item/ReviewSetQueryItemRequestBuilder.java index 4d6697c19b1..8a5180cd5c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/queries/item/ReviewSetQueryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/reviewsets/item/queries/item/ReviewSetQueryItemRequestBuilder.java @@ -158,7 +158,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/reviewSets/{reviewSet%2Did}/queries/{reviewSetQuery%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ReviewSetQuery body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/reviewSets/{reviewSet%2Did}/queries/{reviewSetQuery%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/compliance/ediscovery/cases/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/settings/SettingsRequestBuilder.java index 7dffd059f63..e84d9a206f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/settings/SettingsRequestBuilder.java @@ -156,7 +156,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/settings", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -211,7 +211,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CaseSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/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/compliance/ediscovery/cases/item/sourcecollections/SourceCollectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/SourceCollectionsRequestBuilder.java index e18941bd573..d47e89429d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/SourceCollectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/SourceCollectionsRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SourceCollection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/sourceCollections", 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/compliance/ediscovery/cases/item/sourcecollections/item/SourceCollectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/SourceCollectionItemRequestBuilder.java index 28ed4d0b42d..a10edf51e2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/SourceCollectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/SourceCollectionItemRequestBuilder.java @@ -228,7 +228,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/sourceCollections/{sourceCollection%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -283,7 +283,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SourceCollection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/sourceCollections/{sourceCollection%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/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/AdditionalSourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/AdditionalSourcesRequestBuilder.java index 344bc0172b4..d82d1d028e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/AdditionalSourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/AdditionalSourcesRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DataSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/sourceCollections/{sourceCollection%2Did}/additionalSources", 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/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/item/DataSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/item/DataSourceItemRequestBuilder.java index 80d668dba6e..9dd283258f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/item/DataSourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/sourcecollections/item/additionalsources/item/DataSourceItemRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/sourceCollections/{sourceCollection%2Did}/additionalSources/{dataSource%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DataSource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/sourceCollections/{sourceCollection%2Did}/additionalSources/{dataSource%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/compliance/ediscovery/cases/item/tags/TagsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/tags/TagsRequestBuilder.java index 5855a9ed3ad..d9c3a8805f3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/tags/TagsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/tags/TagsRequestBuilder.java @@ -190,7 +190,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Tag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/tags", 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/compliance/ediscovery/cases/item/tags/item/TagItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/tags/item/TagItemRequestBuilder.java index 43b992d75f6..ca90a800025 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/tags/item/TagItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/compliance/ediscovery/cases/item/tags/item/TagItemRequestBuilder.java @@ -170,7 +170,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/tags/{tag%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -225,7 +225,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Tag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/tags/{tag%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/connections/ConnectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/ConnectionsRequestBuilder.java index cc9d8d4c67e..2272dc1f413 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/ConnectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/ConnectionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/connections", 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/connections/item/ExternalConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/ExternalConnectionItemRequestBuilder.java index 63002dfc8e0..221862f9b02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/ExternalConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/ExternalConnectionItemRequestBuilder.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}/connections/{externalConnection%2Did}", 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 ExternalConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/connections/{externalConnection%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/connections/item/groups/GroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/GroupsRequestBuilder.java index aebe8f3ac0f..fa13f843669 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/GroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/GroupsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/connections/{externalConnection%2Did}/groups", 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/connections/item/groups/item/ExternalGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/ExternalGroupItemRequestBuilder.java index 7cd5cc1965c..05828adc24c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/ExternalGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/ExternalGroupItemRequestBuilder.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}/connections/{externalConnection%2Did}/groups/{externalGroup%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 ExternalGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%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/connections/item/groups/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/members/MembersRequestBuilder.java index 1cd3ef6ef74..58775c7fe63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/members/MembersRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Identity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%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/connections/item/groups/item/members/item/IdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/members/item/IdentityItemRequestBuilder.java index a769813c57d..22bd2d5ae6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/members/item/IdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/groups/item/members/item/IdentityItemRequestBuilder.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}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%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 Identity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%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/connections/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/ItemsRequestBuilder.java index 1cb1a383a62..77e44f9997f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/ItemsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/connections/{externalConnection%2Did}/items", 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/connections/item/items/item/ExternalItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/ExternalItemItemRequestBuilder.java index b039a0e445e..a7092d9d5a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/ExternalItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/ExternalItemItemRequestBuilder.java @@ -138,7 +138,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}/connections/{externalConnection%2Did}/items/{externalItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final ExternalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/connections/{externalConnection%2Did}/items/{externalItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setContentFromParsable(requestAdapter, "application/json", body); diff --git a/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/activities/ActivitiesRequestBuilder.java index f93a9f872b4..f718c4b368e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/activities/ActivitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/connections/{externalConnection%2Did}/items/{externalItem%2Did}/activities", 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/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.java index ccaeecdf83e..c7fcb85ccea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.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}/connections/{externalConnection%2Did}/items/{externalItem%2Did}/activities/{externalActivity%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 ExternalActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/connections/{externalConnection%2Did}/items/{externalItem%2Did}/activities/{externalActivity%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/connections/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/operations/OperationsRequestBuilder.java index 32e3404e8ea..d2b367606f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/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 ConnectionOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/connections/{externalConnection%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/connections/item/operations/item/ConnectionOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/operations/item/ConnectionOperationItemRequestBuilder.java index 97f06afa4a3..d210f834806 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/operations/item/ConnectionOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/operations/item/ConnectionOperationItemRequestBuilder.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}/connections/{externalConnection%2Did}/operations/{connectionOperation%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 ConnectionOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/connections/{externalConnection%2Did}/operations/{connectionOperation%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/connections/item/quota/QuotaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/quota/QuotaRequestBuilder.java index 5bdd11bda6a..13c9faf40fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/quota/QuotaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/quota/QuotaRequestBuilder.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}/connections/{externalConnection%2Did}/quota", 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 ConnectionQuota body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/connections/{externalConnection%2Did}/quota", 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/connections/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/connections/item/schema/SchemaRequestBuilder.java index 30f17a10a1a..4f8369d5948 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/connections/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/connections/item/schema/SchemaRequestBuilder.java @@ -125,7 +125,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Schema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/connections/{externalConnection%2Did}/schema", 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/contacts/ContactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contacts/ContactsRequestBuilder.java index ab62e11b2c6..4577a0d1946 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/contacts/ContactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/contacts/ContactsRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OrgContact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/contacts", 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/contacts/item/OrgContactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/OrgContactItemRequestBuilder.java index ac10e84921d..fab2ee89128 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/OrgContactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/OrgContactItemRequestBuilder.java @@ -226,7 +226,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}/contacts/{orgContact%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -269,7 +269,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OrgContact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/contacts/{orgContact%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/contracts/ContractsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contracts/ContractsRequestBuilder.java index d5b3a654ea5..4d173afe018 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/contracts/ContractsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/contracts/ContractsRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Contract body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/contracts", 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/contracts/item/ContractItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/ContractItemRequestBuilder.java index ea6fc80b97d..9801e71f4fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/ContractItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/ContractItemRequestBuilder.java @@ -163,7 +163,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}/contracts/{contract%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Contract body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/contracts/{contract%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/dataclassification/DataClassificationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/DataClassificationRequestBuilder.java index 89367da00e1..17e337c5202 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/DataClassificationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/DataClassificationRequestBuilder.java @@ -220,7 +220,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DataClassificationService body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification", 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/dataclassification/classifyfilejobs/ClassifyFileJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifyfilejobs/ClassifyFileJobsRequestBuilder.java index c619c92efb8..d64df50309e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifyfilejobs/ClassifyFileJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifyfilejobs/ClassifyFileJobsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/classifyFileJobs", 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/dataclassification/classifyfilejobs/item/JobResponseBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifyfilejobs/item/JobResponseBaseItemRequestBuilder.java index 5a6e0a2a216..faf7fcedd8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifyfilejobs/item/JobResponseBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifyfilejobs/item/JobResponseBaseItemRequestBuilder.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}/dataClassification/classifyFileJobs/{jobResponseBase%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 JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/classifyFileJobs/{jobResponseBase%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/dataclassification/classifytextjobs/ClassifyTextJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifytextjobs/ClassifyTextJobsRequestBuilder.java index 958ae7b4a64..c272637b671 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifytextjobs/ClassifyTextJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifytextjobs/ClassifyTextJobsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/classifyTextJobs", 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/dataclassification/classifytextjobs/item/JobResponseBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifytextjobs/item/JobResponseBaseItemRequestBuilder.java index cfcff4c1897..6a2da3fa690 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifytextjobs/item/JobResponseBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/classifytextjobs/item/JobResponseBaseItemRequestBuilder.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}/dataClassification/classifyTextJobs/{jobResponseBase%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 JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/classifyTextJobs/{jobResponseBase%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/dataclassification/evaluatedlppoliciesjobs/EvaluateDlpPoliciesJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatedlppoliciesjobs/EvaluateDlpPoliciesJobsRequestBuilder.java index bfe05ade36b..73364582da6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatedlppoliciesjobs/EvaluateDlpPoliciesJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatedlppoliciesjobs/EvaluateDlpPoliciesJobsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/evaluateDlpPoliciesJobs", 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/dataclassification/evaluatedlppoliciesjobs/item/JobResponseBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatedlppoliciesjobs/item/JobResponseBaseItemRequestBuilder.java index 6d4be4b822b..b7c5b962e39 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatedlppoliciesjobs/item/JobResponseBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatedlppoliciesjobs/item/JobResponseBaseItemRequestBuilder.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}/dataClassification/evaluateDlpPoliciesJobs/{jobResponseBase%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 JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/evaluateDlpPoliciesJobs/{jobResponseBase%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/dataclassification/evaluatelabeljobs/EvaluateLabelJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatelabeljobs/EvaluateLabelJobsRequestBuilder.java index 8ba6dd3dc47..10efd05c0e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatelabeljobs/EvaluateLabelJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatelabeljobs/EvaluateLabelJobsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/evaluateLabelJobs", 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/dataclassification/evaluatelabeljobs/item/JobResponseBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatelabeljobs/item/JobResponseBaseItemRequestBuilder.java index 7d7232c8753..bb9c3d07c66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatelabeljobs/item/JobResponseBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/evaluatelabeljobs/item/JobResponseBaseItemRequestBuilder.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}/dataClassification/evaluateLabelJobs/{jobResponseBase%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 JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/evaluateLabelJobs/{jobResponseBase%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/dataclassification/exactmatchdatastores/ExactMatchDataStoresRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/ExactMatchDataStoresRequestBuilder.java index a842d93529d..36d86eed3ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/ExactMatchDataStoresRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/ExactMatchDataStoresRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExactMatchDataStore body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/exactMatchDataStores", 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/dataclassification/exactmatchdatastores/item/ExactMatchDataStoreItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/ExactMatchDataStoreItemRequestBuilder.java index 1199565aa92..95c54a3355a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/ExactMatchDataStoreItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/ExactMatchDataStoreItemRequestBuilder.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}/dataClassification/exactMatchDataStores/{exactMatchDataStore%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 ExactMatchDataStore body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/exactMatchDataStores/{exactMatchDataStore%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/dataclassification/exactmatchdatastores/item/sessions/SessionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/SessionsRequestBuilder.java index d9e1a3f9654..6ef72096c8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/SessionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/SessionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExactMatchSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/exactMatchDataStores/{exactMatchDataStore%2Did}/sessions", 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/dataclassification/exactmatchdatastores/item/sessions/item/ExactMatchSessionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/item/ExactMatchSessionItemRequestBuilder.java index 086bb61d365..e8d2391688b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/item/ExactMatchSessionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/item/ExactMatchSessionItemRequestBuilder.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}/dataClassification/exactMatchDataStores/{exactMatchDataStore%2Did}/sessions/{exactMatchSession%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 ExactMatchSession body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/exactMatchDataStores/{exactMatchDataStore%2Did}/sessions/{exactMatchSession%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/dataclassification/exactmatchdatastores/item/sessions/item/uploadagent/UploadAgentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/item/uploadagent/UploadAgentRequestBuilder.java index 4fe4a06f6e0..1257b29cb27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/item/uploadagent/UploadAgentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchdatastores/item/sessions/item/uploadagent/UploadAgentRequestBuilder.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}/dataClassification/exactMatchDataStores/{exactMatchDataStore%2Did}/sessions/{exactMatchSession%2Did}/uploadAgent", 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 ExactMatchUploadAgent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/exactMatchDataStores/{exactMatchDataStore%2Did}/sessions/{exactMatchSession%2Did}/uploadAgent", 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/dataclassification/exactmatchuploadagents/ExactMatchUploadAgentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchuploadagents/ExactMatchUploadAgentsRequestBuilder.java index 9909f421d97..74c05dc2cb8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchuploadagents/ExactMatchUploadAgentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchuploadagents/ExactMatchUploadAgentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExactMatchUploadAgent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/exactMatchUploadAgents", 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/dataclassification/exactmatchuploadagents/item/ExactMatchUploadAgentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchuploadagents/item/ExactMatchUploadAgentItemRequestBuilder.java index 59ffd5ac8da..f9e28ad6546 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchuploadagents/item/ExactMatchUploadAgentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/exactmatchuploadagents/item/ExactMatchUploadAgentItemRequestBuilder.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}/dataClassification/exactMatchUploadAgents/{exactMatchUploadAgent%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 ExactMatchUploadAgent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/exactMatchUploadAgents/{exactMatchUploadAgent%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/dataclassification/jobs/JobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/jobs/JobsRequestBuilder.java index 2e0231c5715..3f3e148af43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/jobs/JobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/jobs/JobsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/jobs", 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/dataclassification/jobs/item/JobResponseBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/jobs/item/JobResponseBaseItemRequestBuilder.java index a367bf7dbc8..9f8afa80ce0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/jobs/item/JobResponseBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/jobs/item/JobResponseBaseItemRequestBuilder.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}/dataClassification/jobs/{jobResponseBase%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 JobResponseBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/jobs/{jobResponseBase%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/dataclassification/sensitivetypes/SensitiveTypesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivetypes/SensitiveTypesRequestBuilder.java index 97d700c66d9..e54bdace28d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivetypes/SensitiveTypesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivetypes/SensitiveTypesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensitiveType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/sensitiveTypes", 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/dataclassification/sensitivetypes/item/SensitiveTypeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivetypes/item/SensitiveTypeItemRequestBuilder.java index 2f7544fb059..1f74aef75bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivetypes/item/SensitiveTypeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivetypes/item/SensitiveTypeItemRequestBuilder.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}/dataClassification/sensitiveTypes/{sensitiveType%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 SensitiveType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/sensitiveTypes/{sensitiveType%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/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java index 6faba112a72..f9f40cafd72 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/sensitivityLabels", 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/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index f5c76009f2c..48dacd67ebd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.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}/dataClassification/sensitivityLabels/{sensitivityLabel%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 SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%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/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index 0d3696c66ff..6bbd41c0dad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels", 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/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index bbae8f04bd3..ee0f5effd99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/dataclassification/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.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}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}", 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 SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataClassification/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/datapolicyoperations/DataPolicyOperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/datapolicyoperations/DataPolicyOperationsRequestBuilder.java index 5f51bf2cf4e..8c9fbea0b01 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/datapolicyoperations/DataPolicyOperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/datapolicyoperations/DataPolicyOperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DataPolicyOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/dataPolicyOperations", 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/datapolicyoperations/item/DataPolicyOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/datapolicyoperations/item/DataPolicyOperationItemRequestBuilder.java index 03493339449..f4d6282bf0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/datapolicyoperations/item/DataPolicyOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/datapolicyoperations/item/DataPolicyOperationItemRequestBuilder.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}/dataPolicyOperations/{dataPolicyOperation%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 DataPolicyOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/dataPolicyOperations/{dataPolicyOperation%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/deviceappmanagement/DeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java index faee9f63c4e..653953c830e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java @@ -364,7 +364,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceAppManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement", 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/deviceappmanagement/androidmanagedappprotections/AndroidManagedAppProtectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/AndroidManagedAppProtectionsRequestBuilder.java index a32c715aad1..05dc6c00138 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/AndroidManagedAppProtectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/AndroidManagedAppProtectionsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AndroidManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/androidManagedAppProtections", 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/deviceappmanagement/androidmanagedappprotections/item/AndroidManagedAppProtectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/AndroidManagedAppProtectionItemRequestBuilder.java index 1cf7c5c7d73..d0abcbdac17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/AndroidManagedAppProtectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/AndroidManagedAppProtectionItemRequestBuilder.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}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%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 AndroidManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%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/deviceappmanagement/androidmanagedappprotections/item/apps/AppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/apps/AppsRequestBuilder.java index fd4021808a7..8e1fee79bbd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/apps/AppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/apps/AppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/apps", 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/deviceappmanagement/androidmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java index efab9cc9888..d6cdaf996da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.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}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/apps/{managedMobileApp%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 ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/apps/{managedMobileApp%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/deviceappmanagement/androidmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java index 6387a722d4a..95751118416 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/assignments", 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/deviceappmanagement/androidmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java index 4d8487be140..8c4978fa2f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.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}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/assignments/{targetedManagedAppPolicyAssignment%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 TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/assignments/{targetedManagedAppPolicyAssignment%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/deviceappmanagement/androidmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java index 2f9e6446dcf..b08003bb619 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/androidmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.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}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/deploymentSummary", 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 ManagedAppPolicyDeploymentSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/androidManagedAppProtections/{androidManagedAppProtection%2Did}/deploymentSummary", 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/deviceappmanagement/defaultmanagedappprotections/DefaultManagedAppProtectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/DefaultManagedAppProtectionsRequestBuilder.java index 272e387080b..46e21fa5dd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/DefaultManagedAppProtectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/DefaultManagedAppProtectionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DefaultManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/defaultManagedAppProtections", 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/deviceappmanagement/defaultmanagedappprotections/item/DefaultManagedAppProtectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/DefaultManagedAppProtectionItemRequestBuilder.java index abfcf0cfbd5..3e497a3a0a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/DefaultManagedAppProtectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/DefaultManagedAppProtectionItemRequestBuilder.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}/deviceAppManagement/defaultManagedAppProtections/{defaultManagedAppProtection%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 DefaultManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/defaultManagedAppProtections/{defaultManagedAppProtection%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/deviceappmanagement/defaultmanagedappprotections/item/apps/AppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/apps/AppsRequestBuilder.java index 58909c2c932..2d2485d53b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/apps/AppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/apps/AppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/defaultManagedAppProtections/{defaultManagedAppProtection%2Did}/apps", 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/deviceappmanagement/defaultmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java index d23ef2327e4..ce5ee784aee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.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}/deviceAppManagement/defaultManagedAppProtections/{defaultManagedAppProtection%2Did}/apps/{managedMobileApp%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 ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/defaultManagedAppProtections/{defaultManagedAppProtection%2Did}/apps/{managedMobileApp%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/deviceappmanagement/defaultmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java index 0edb4260c29..6a04d0a0e09 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/defaultmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.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}/deviceAppManagement/defaultManagedAppProtections/{defaultManagedAppProtection%2Did}/deploymentSummary", 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 ManagedAppPolicyDeploymentSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/defaultManagedAppProtections/{defaultManagedAppProtection%2Did}/deploymentSummary", 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/deviceappmanagement/deviceappmanagementtasks/DeviceAppManagementTasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/deviceappmanagementtasks/DeviceAppManagementTasksRequestBuilder.java index 75d4bdb6d22..36d7bb88aa9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/deviceappmanagementtasks/DeviceAppManagementTasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/deviceappmanagementtasks/DeviceAppManagementTasksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceAppManagementTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/deviceAppManagementTasks", 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/deviceappmanagement/deviceappmanagementtasks/item/DeviceAppManagementTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/deviceappmanagementtasks/item/DeviceAppManagementTaskItemRequestBuilder.java index 05a9f60cbb0..c027ee25878 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/deviceappmanagementtasks/item/DeviceAppManagementTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/deviceappmanagementtasks/item/DeviceAppManagementTaskItemRequestBuilder.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}/deviceAppManagement/deviceAppManagementTasks/{deviceAppManagementTask%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 DeviceAppManagementTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/deviceAppManagementTasks/{deviceAppManagementTask%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/deviceappmanagement/enterprisecodesigningcertificates/EnterpriseCodeSigningCertificatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/enterprisecodesigningcertificates/EnterpriseCodeSigningCertificatesRequestBuilder.java index 9fcd2afdaf5..98ddd4b07c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/enterprisecodesigningcertificates/EnterpriseCodeSigningCertificatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/enterprisecodesigningcertificates/EnterpriseCodeSigningCertificatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EnterpriseCodeSigningCertificate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/enterpriseCodeSigningCertificates", 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/deviceappmanagement/enterprisecodesigningcertificates/item/EnterpriseCodeSigningCertificateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/enterprisecodesigningcertificates/item/EnterpriseCodeSigningCertificateItemRequestBuilder.java index 9260f0e7309..a8bf4f79d23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/enterprisecodesigningcertificates/item/EnterpriseCodeSigningCertificateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/enterprisecodesigningcertificates/item/EnterpriseCodeSigningCertificateItemRequestBuilder.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}/deviceAppManagement/enterpriseCodeSigningCertificates/{enterpriseCodeSigningCertificate%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 EnterpriseCodeSigningCertificate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/enterpriseCodeSigningCertificates/{enterpriseCodeSigningCertificate%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/deviceappmanagement/ioslobappprovisioningconfigurations/IosLobAppProvisioningConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/IosLobAppProvisioningConfigurationsRequestBuilder.java index 03bc6dd63b6..b9852affab3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/IosLobAppProvisioningConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/IosLobAppProvisioningConfigurationsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IosLobAppProvisioningConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations", 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/deviceappmanagement/ioslobappprovisioningconfigurations/item/IosLobAppProvisioningConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/IosLobAppProvisioningConfigurationItemRequestBuilder.java index ae34cd5828f..5481c074092 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/IosLobAppProvisioningConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/IosLobAppProvisioningConfigurationItemRequestBuilder.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}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}", 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 IosLobAppProvisioningConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%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/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java index 07d872be882..1839e20b236 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IosLobAppProvisioningConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/assignments", 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/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java index 7e186876b75..1b7ff14e809 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.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}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/assignments/{iosLobAppProvisioningConfigurationAssignment%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 IosLobAppProvisioningConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/assignments/{iosLobAppProvisioningConfigurationAssignment%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/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java index 3ba46461cb0..de6f2ab85d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfigurationDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/deviceStatuses", 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/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.java index 36e85304341..1535f07b2d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.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}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/deviceStatuses/{managedDeviceMobileAppConfigurationDeviceStatus%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 ManagedDeviceMobileAppConfigurationDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/deviceStatuses/{managedDeviceMobileAppConfigurationDeviceStatus%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/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java index a9ae2c090bb..aab049b993c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppProvisioningConfigGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/groupAssignments", 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/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/item/MobileAppProvisioningConfigGroupAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/item/MobileAppProvisioningConfigGroupAssignmentItemRequestBuilder.java index 4f859e572ee..8d8bf808773 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/item/MobileAppProvisioningConfigGroupAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/groupassignments/item/MobileAppProvisioningConfigGroupAssignmentItemRequestBuilder.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}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/groupAssignments/{mobileAppProvisioningConfigGroupAssignment%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 MobileAppProvisioningConfigGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/groupAssignments/{mobileAppProvisioningConfigGroupAssignment%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/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/UserStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/UserStatusesRequestBuilder.java index 403ac97bb21..6c2d19eec34 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/UserStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/UserStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfigurationUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/userStatuses", 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/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.java index 414bb18f5cc..234660890a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.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}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/userStatuses/{managedDeviceMobileAppConfigurationUserStatus%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 ManagedDeviceMobileAppConfigurationUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/userStatuses/{managedDeviceMobileAppConfigurationUserStatus%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/deviceappmanagement/iosmanagedappprotections/IosManagedAppProtectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/IosManagedAppProtectionsRequestBuilder.java index b656610a1af..ef53cb2b9f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/IosManagedAppProtectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/IosManagedAppProtectionsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IosManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosManagedAppProtections", 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/deviceappmanagement/iosmanagedappprotections/item/IosManagedAppProtectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/IosManagedAppProtectionItemRequestBuilder.java index 0b1d8a26cba..2cff219812e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/IosManagedAppProtectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/IosManagedAppProtectionItemRequestBuilder.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}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%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 IosManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%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/deviceappmanagement/iosmanagedappprotections/item/apps/AppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/apps/AppsRequestBuilder.java index bb99c4d9929..ede1f80e65b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/apps/AppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/apps/AppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/apps", 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/deviceappmanagement/iosmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java index c86221b833c..6ec952f7c98 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.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}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/apps/{managedMobileApp%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 ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/apps/{managedMobileApp%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/deviceappmanagement/iosmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java index fd407474b00..9401ede6d0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/assignments", 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/deviceappmanagement/iosmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java index c9f70c3033a..39edeeb7f6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.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}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/assignments/{targetedManagedAppPolicyAssignment%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 TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/assignments/{targetedManagedAppPolicyAssignment%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/deviceappmanagement/iosmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java index f0f80f23dc6..a726715f1b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/iosmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.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}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/deploymentSummary", 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 ManagedAppPolicyDeploymentSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/iosManagedAppProtections/{iosManagedAppProtection%2Did}/deploymentSummary", 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/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java index 0d8518ab96d..cb9f660dfaa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAppPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedAppPolicies", 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/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java index 5bf1c6d20ac..9de7222d8ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.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}/deviceAppManagement/managedAppPolicies/{managedAppPolicy%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 ManagedAppPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedAppPolicies/{managedAppPolicy%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/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java index db35818da2d..f815ed7b321 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/ManagedAppRegistrationsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAppRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedAppRegistrations", 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/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java index 82204496b2f..2b3884ff7bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java @@ -2,6 +2,7 @@ import com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.appliedpolicies.AppliedPoliciesRequestBuilder; import com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.intendedpolicies.IntendedPoliciesRequestBuilder; +import com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.managedapplogcollectionrequests.ManagedAppLogCollectionRequestsRequestBuilder; import com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.operations.OperationsRequestBuilder; import com.microsoft.graph.beta.models.ManagedAppRegistration; import com.microsoft.graph.beta.models.odataerrors.ODataError; @@ -39,6 +40,14 @@ public AppliedPoliciesRequestBuilder appliedPolicies() { public IntendedPoliciesRequestBuilder intendedPolicies() { return new IntendedPoliciesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the managedAppLogCollectionRequests property of the microsoft.graph.managedAppRegistration entity. + * @return a {@link ManagedAppLogCollectionRequestsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ManagedAppLogCollectionRequestsRequestBuilder managedAppLogCollectionRequests() { + return new ManagedAppLogCollectionRequestsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the operations property of the microsoft.graph.managedAppRegistration entity. * @return a {@link OperationsRequestBuilder} @@ -143,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}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%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 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedAppRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%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/deviceappmanagement/managedappregistrations/item/appliedpolicies/AppliedPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/AppliedPoliciesRequestBuilder.java index a6e9ebcf6ff..92f0dd66743 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/AppliedPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/AppliedPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAppPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/appliedPolicies", 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/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/ManagedAppPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/ManagedAppPolicyItemRequestBuilder.java index 5d734afdb37..931d2473eeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/ManagedAppPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/appliedpolicies/item/ManagedAppPolicyItemRequestBuilder.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}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/appliedPolicies/{managedAppPolicy%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 ManagedAppPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/appliedPolicies/{managedAppPolicy%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/deviceappmanagement/managedappregistrations/item/intendedpolicies/IntendedPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/IntendedPoliciesRequestBuilder.java index 1b1ea64082d..f7db3e42e2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/IntendedPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/IntendedPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAppPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/intendedPolicies", 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/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/ManagedAppPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/ManagedAppPolicyItemRequestBuilder.java index fcfa13d348e..2a378bab24e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/ManagedAppPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/intendedpolicies/item/ManagedAppPolicyItemRequestBuilder.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}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/intendedPolicies/{managedAppPolicy%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 ManagedAppPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/intendedPolicies/{managedAppPolicy%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/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/ManagedAppLogCollectionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/ManagedAppLogCollectionRequestsRequestBuilder.java new file mode 100644 index 00000000000..b21f4edd095 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/ManagedAppLogCollectionRequestsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.managedapplogcollectionrequests; + +import com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.managedapplogcollectionrequests.count.CountRequestBuilder; +import com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.managedapplogcollectionrequests.item.ManagedAppLogCollectionRequestItemRequestBuilder; +import com.microsoft.graph.beta.models.ManagedAppLogCollectionRequest; +import com.microsoft.graph.beta.models.ManagedAppLogCollectionRequestCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the managedAppLogCollectionRequests property of the microsoft.graph.managedAppRegistration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ManagedAppLogCollectionRequestsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the managedAppLogCollectionRequests property of the microsoft.graph.managedAppRegistration entity. + * @param managedAppLogCollectionRequestId The unique identifier of managedAppLogCollectionRequest + * @return a {@link ManagedAppLogCollectionRequestItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ManagedAppLogCollectionRequestItemRequestBuilder byManagedAppLogCollectionRequestId(@jakarta.annotation.Nonnull final String managedAppLogCollectionRequestId) { + Objects.requireNonNull(managedAppLogCollectionRequestId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("managedAppLogCollectionRequest%2Did", managedAppLogCollectionRequestId); + return new ManagedAppLogCollectionRequestItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ManagedAppLogCollectionRequestsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ManagedAppLogCollectionRequestsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/managedAppLogCollectionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ManagedAppLogCollectionRequestsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ManagedAppLogCollectionRequestsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/managedAppLogCollectionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Zero or more log collection requests triggered for the app. + * @return a {@link ManagedAppLogCollectionRequestCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequestCollectionResponse get() { + return get(null); + } + /** + * Zero or more log collection requests triggered for the app. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ManagedAppLogCollectionRequestCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppLogCollectionRequestCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to managedAppLogCollectionRequests for deviceAppManagement + * @param body The request body + * @return a {@link ManagedAppLogCollectionRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequest post(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body) { + return post(body, null); + } + /** + * Create new navigation property to managedAppLogCollectionRequests for deviceAppManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ManagedAppLogCollectionRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequest post(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppLogCollectionRequest::createFromDiscriminatorValue); + } + /** + * Zero or more log collection requests triggered for the app. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Zero or more log collection requests triggered for the app. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to managedAppLogCollectionRequests for deviceAppManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to managedAppLogCollectionRequests for deviceAppManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ManagedAppLogCollectionRequestsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ManagedAppLogCollectionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ManagedAppLogCollectionRequestsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Zero or more log collection requests triggered for the app. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/count/CountRequestBuilder.java new file mode 100644 index 00000000000..e8b572ae100 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.managedapplogcollectionrequests.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/managedAppLogCollectionRequests/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/managedAppLogCollectionRequests/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/item/ManagedAppLogCollectionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/item/ManagedAppLogCollectionRequestItemRequestBuilder.java new file mode 100644 index 00000000000..59534210bd5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/managedapplogcollectionrequests/item/ManagedAppLogCollectionRequestItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.deviceappmanagement.managedappregistrations.item.managedapplogcollectionrequests.item; + +import com.microsoft.graph.beta.models.ManagedAppLogCollectionRequest; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the managedAppLogCollectionRequests property of the microsoft.graph.managedAppRegistration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ManagedAppLogCollectionRequestItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ManagedAppLogCollectionRequestItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ManagedAppLogCollectionRequestItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/managedAppLogCollectionRequests/{managedAppLogCollectionRequest%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ManagedAppLogCollectionRequestItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ManagedAppLogCollectionRequestItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/managedAppLogCollectionRequests/{managedAppLogCollectionRequest%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property managedAppLogCollectionRequests for deviceAppManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property managedAppLogCollectionRequests for deviceAppManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Zero or more log collection requests triggered for the app. + * @return a {@link ManagedAppLogCollectionRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequest get() { + return get(null); + } + /** + * Zero or more log collection requests triggered for the app. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ManagedAppLogCollectionRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppLogCollectionRequest::createFromDiscriminatorValue); + } + /** + * Update the navigation property managedAppLogCollectionRequests in deviceAppManagement + * @param body The request body + * @return a {@link ManagedAppLogCollectionRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequest patch(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body) { + return patch(body, null); + } + /** + * Update the navigation property managedAppLogCollectionRequests in deviceAppManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ManagedAppLogCollectionRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppLogCollectionRequest patch(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppLogCollectionRequest::createFromDiscriminatorValue); + } + /** + * Delete navigation property managedAppLogCollectionRequests for deviceAppManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property managedAppLogCollectionRequests for deviceAppManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Zero or more log collection requests triggered for the app. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Zero or more log collection requests triggered for the app. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property managedAppLogCollectionRequests in deviceAppManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property managedAppLogCollectionRequests in deviceAppManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedAppLogCollectionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ManagedAppLogCollectionRequestItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ManagedAppLogCollectionRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ManagedAppLogCollectionRequestItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Zero or more log collection requests triggered for the app. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/operations/OperationsRequestBuilder.java index 70ac21f965c..a2f4c80b46b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/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 ManagedAppOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%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/deviceappmanagement/managedappregistrations/item/operations/item/ManagedAppOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/operations/item/ManagedAppOperationItemRequestBuilder.java index a2d25e18525..937b0c252e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/operations/item/ManagedAppOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappregistrations/item/operations/item/ManagedAppOperationItemRequestBuilder.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}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/operations/{managedAppOperation%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 ManagedAppOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedAppRegistrations/{managedAppRegistration%2Did}/operations/{managedAppOperation%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/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java index 69dd67ef7da..e7e7668f788 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappstatuses/ManagedAppStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAppStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedAppStatuses", 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/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java index e8c345b8d4f..eae8ec5caa4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedappstatuses/item/ManagedAppStatusItemRequestBuilder.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}/deviceAppManagement/managedAppStatuses/{managedAppStatus%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 ManagedAppStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedAppStatuses/{managedAppStatus%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/deviceappmanagement/managedebookcategories/ManagedEBookCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebookcategories/ManagedEBookCategoriesRequestBuilder.java index 6b06e2400b3..e6b7d61b3c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebookcategories/ManagedEBookCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebookcategories/ManagedEBookCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedEBookCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedEBookCategories", 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/deviceappmanagement/managedebookcategories/item/ManagedEBookCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebookcategories/item/ManagedEBookCategoryItemRequestBuilder.java index 871b4713415..66cae014ebc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebookcategories/item/ManagedEBookCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebookcategories/item/ManagedEBookCategoryItemRequestBuilder.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}/deviceAppManagement/managedEBookCategories/{managedEBookCategory%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 ManagedEBookCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedEBookCategories/{managedEBookCategory%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/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java index 6df384275da..01205e4a369 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedEBook body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedEBooks", 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/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java index ccd63619ffd..30e4f183300 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java @@ -170,7 +170,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}/deviceAppManagement/managedEBooks/{managedEBook%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedEBook body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%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/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java index 93f9f03e6ed..8b0ec5c3fc5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedEBookAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments", 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/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java index 4e1f6623da6..cf7e6bff98a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.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}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%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 ManagedEBookAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%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/deviceappmanagement/managedebooks/item/devicestates/DeviceStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/devicestates/DeviceStatesRequestBuilder.java index b0206820802..2ad3d06540d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/devicestates/DeviceStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/devicestates/DeviceStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceInstallState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/deviceStates", 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/deviceappmanagement/managedebooks/item/devicestates/item/DeviceInstallStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/devicestates/item/DeviceInstallStateItemRequestBuilder.java index 3b39a3397b3..afb1cb1c3f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/devicestates/item/DeviceInstallStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/devicestates/item/DeviceInstallStateItemRequestBuilder.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}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/deviceStates/{deviceInstallState%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 DeviceInstallState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/deviceStates/{deviceInstallState%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/deviceappmanagement/managedebooks/item/installsummary/InstallSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/installsummary/InstallSummaryRequestBuilder.java index 6b6edac2c61..c15f4ec3831 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/installsummary/InstallSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/installsummary/InstallSummaryRequestBuilder.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}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/installSummary", 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 EBookInstallSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/installSummary", 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/deviceappmanagement/managedebooks/item/userstatesummary/UserStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/UserStateSummaryRequestBuilder.java index b13d42f8562..05a04d09c23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/UserStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/UserStateSummaryRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserInstallStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/userStateSummary", 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/deviceappmanagement/managedebooks/item/userstatesummary/item/UserInstallStateSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/UserInstallStateSummaryItemRequestBuilder.java index 769aa71aabc..490cb73e9fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/UserInstallStateSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/UserInstallStateSummaryItemRequestBuilder.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}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/userStateSummary/{userInstallStateSummary%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 UserInstallStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/userStateSummary/{userInstallStateSummary%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/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/DeviceStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/DeviceStatesRequestBuilder.java index e8a2de9709c..6d3b3740ab8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/DeviceStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/DeviceStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceInstallState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/userStateSummary/{userInstallStateSummary%2Did}/deviceStates", 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/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/item/DeviceInstallStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/item/DeviceInstallStateItemRequestBuilder.java index ceff76e8e6e..399a9bf41f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/item/DeviceInstallStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/managedebooks/item/userstatesummary/item/devicestates/item/DeviceInstallStateItemRequestBuilder.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}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/userStateSummary/{userInstallStateSummary%2Did}/deviceStates/{deviceInstallState%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 DeviceInstallState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/userStateSummary/{userInstallStateSummary%2Did}/deviceStates/{deviceInstallState%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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.java index c5647fd54ce..23c42acf5bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MdmWindowsInformationProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies", 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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.java index eb954ca103b..af8eedbea94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.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}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%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 MdmWindowsInformationProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java index 237e8ab2176..ef57c97afc8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/assignments", 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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java index c8cc43564e7..ab1d513e681 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.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}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/assignments/{targetedManagedAppPolicyAssignment%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 TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/assignments/{targetedManagedAppPolicyAssignment%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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java index 8f657b6072a..f6f106e087d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/exemptAppLockerFiles", 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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java index bef9335f995..960707d29b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.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}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFile%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 WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFile%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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java index d087d0a7f1a..d35430552b3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/protectedAppLockerFiles", 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/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java index c057f184ee6..094ddf4016a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mdmwindowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.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}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFile%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 WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mdmWindowsInformationProtectionPolicies/{mdmWindowsInformationProtectionPolicy%2Did}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFile%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/deviceappmanagement/mobileappcatalogpackages/MobileAppCatalogPackagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcatalogpackages/MobileAppCatalogPackagesRequestBuilder.java index ca0fdee95a9..09731f786d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcatalogpackages/MobileAppCatalogPackagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcatalogpackages/MobileAppCatalogPackagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppCatalogPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileAppCatalogPackages", 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/deviceappmanagement/mobileappcatalogpackages/item/MobileAppCatalogPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcatalogpackages/item/MobileAppCatalogPackageItemRequestBuilder.java index 16a9ba460a6..5cc42c28584 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcatalogpackages/item/MobileAppCatalogPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcatalogpackages/item/MobileAppCatalogPackageItemRequestBuilder.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}/deviceAppManagement/mobileAppCatalogPackages/{mobileAppCatalogPackage%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 MobileAppCatalogPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppCatalogPackages/{mobileAppCatalogPackage%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/deviceappmanagement/mobileappcategories/MobileAppCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcategories/MobileAppCategoriesRequestBuilder.java index e6fc5fbf027..a5eea70a2ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcategories/MobileAppCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcategories/MobileAppCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileAppCategories", 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/deviceappmanagement/mobileappcategories/item/MobileAppCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcategories/item/MobileAppCategoryItemRequestBuilder.java index 60123d5a913..c5838baf851 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcategories/item/MobileAppCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappcategories/item/MobileAppCategoryItemRequestBuilder.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}/deviceAppManagement/mobileAppCategories/{mobileAppCategory%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 MobileAppCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppCategories/{mobileAppCategory%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/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java index 19b5eae41b4..04997cc86f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileAppConfigurations", 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/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java index 44bdc6c2b6d..25901dda59e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.java @@ -170,7 +170,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}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%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/deviceappmanagement/mobileappconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/assignments/AssignmentsRequestBuilder.java index 83b62ec6459..b1043de5662 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/assignments", 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/deviceappmanagement/mobileappconfigurations/item/assignments/item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/assignments/item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.java index d8a047c0f4c..e26a3a30b6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/assignments/item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/assignments/item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/assignments/{managedDeviceMobileAppConfigurationAssignment%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 ManagedDeviceMobileAppConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/assignments/{managedDeviceMobileAppConfigurationAssignment%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/deviceappmanagement/mobileappconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java index d92240de70a..40fa5bbb636 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfigurationDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/deviceStatuses", 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/deviceappmanagement/mobileappconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.java index 4369557250a..4f01e7fa78a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatuses/item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.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}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/deviceStatuses/{managedDeviceMobileAppConfigurationDeviceStatus%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 ManagedDeviceMobileAppConfigurationDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/deviceStatuses/{managedDeviceMobileAppConfigurationDeviceStatus%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/deviceappmanagement/mobileappconfigurations/item/devicestatussummary/DeviceStatusSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatussummary/DeviceStatusSummaryRequestBuilder.java index f2e7a93b128..429a2ec5ee9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatussummary/DeviceStatusSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/devicestatussummary/DeviceStatusSummaryRequestBuilder.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}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/deviceStatusSummary", 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 ManagedDeviceMobileAppConfigurationDeviceSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/deviceStatusSummary", 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/deviceappmanagement/mobileappconfigurations/item/userstatuses/UserStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatuses/UserStatusesRequestBuilder.java index 24f4d513ca6..b681ef83599 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatuses/UserStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatuses/UserStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfigurationUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/userStatuses", 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/deviceappmanagement/mobileappconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.java index ad2623c8c7d..b5b3eb8faae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatuses/item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.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}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/userStatuses/{managedDeviceMobileAppConfigurationUserStatus%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 ManagedDeviceMobileAppConfigurationUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/userStatuses/{managedDeviceMobileAppConfigurationUserStatus%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/deviceappmanagement/mobileappconfigurations/item/userstatussummary/UserStatusSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatussummary/UserStatusSummaryRequestBuilder.java index cf4b9f1bb75..0493afe777a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatussummary/UserStatusSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileappconfigurations/item/userstatussummary/UserStatusSummaryRequestBuilder.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}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/userStatusSummary", 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 ManagedDeviceMobileAppConfigurationUserSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileAppConfigurations/{managedDeviceMobileAppConfiguration%2Did}/userStatusSummary", 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/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java index 01b1c3d8fc0..3236b94be24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java @@ -362,7 +362,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps", 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/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java index 97497403241..3a49881275a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java @@ -350,7 +350,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}/deviceAppManagement/mobileApps/{mobileApp%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -393,7 +393,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%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/deviceappmanagement/mobileapps/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/assignments/AssignmentsRequestBuilder.java index b87dfea8aaa..29741ede772 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/assignments", 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/deviceappmanagement/mobileapps/item/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 655cf83a260..3783ac4ab4e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/AssignmentsRequestBuilder.java index 6c710f2e846..c8aa955c40f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/assignments", 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/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 9e26f921d96..b4fa0c682e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java index 85e80f0a3c3..5201d91207f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/relationships", 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/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index dc4298f5a35..095644e85bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/AssignmentsRequestBuilder.java index eb7be3f6e95..de4f10bf582 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/assignments", 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/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 75dcae40a43..0026ed7989d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/ContentVersionsRequestBuilder.java index 935500e8d64..8abf5ae1828 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.java index 420a5b428cf..83c926aef96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index a83838c85ec..3624ea14d4a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index 7d992ed8d59..ccda0255250 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/FilesRequestBuilder.java index 12fc5674b00..09dc1b5056d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index 99bfee6c05b..e189e3d3deb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java index 58532dbbfe4..1cbf3465bf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/relationships", 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/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index cc0093232d4..83c554d47e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/AssignmentsRequestBuilder.java index 8fe53e4bc2b..0f1ac375fcf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/assignments", 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/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 96179f1c7c1..0a75ad967c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java index ac980e4f18c..fb75ea9cae5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/relationships", 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/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 977157fb2c3..b34e4712e11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/AssignmentsRequestBuilder.java index 5d59ea2b848..95aaf744d7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/assignments", 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/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 0ce53ed76ad..1561022795f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java index 7a44018ea2d..bc4b74edfe7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/relationships", 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/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 0155f29ad22..afb17fd4283 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/AssignmentsRequestBuilder.java index fd1b260b2c0..078e975d36c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/assignments", 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/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 01cd75844b5..da53a09bc27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/ContentVersionsRequestBuilder.java index e9e164fa2d2..42681e8b2da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java index ecf050bfab0..4b905006f72 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index 2a98dd01d9e..049ee0dd3c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index f1cb7305aaf..09dd0fbc5f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/FilesRequestBuilder.java index 28b49fde9c9..8c4705b158f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index a4e55202274..2cff6ef6041 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java index 2f24d2160f0..f8ecd8850ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/relationships", 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/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 24699fabcde..79aa03f5435 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/AssignmentsRequestBuilder.java index 2b940f9a7c2..9227989d19b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/assignments", 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/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 450f74c87c0..a1d75512e5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java index f17ed72153b..3b57ea0d42e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/relationships", 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/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index d9a7916ec29..6f3e3da3bee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/AssignedLicensesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/AssignedLicensesRequestBuilder.java index 8e8edf7f402..dce44136b2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/AssignedLicensesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/AssignedLicensesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IosVppAppAssignedLicense body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/assignedLicenses", 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/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/item/IosVppAppAssignedLicenseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/item/IosVppAppAssignedLicenseItemRequestBuilder.java index 0c8b3030eca..cb8e39a61af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/item/IosVppAppAssignedLicenseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignedlicenses/item/IosVppAppAssignedLicenseItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/assignedLicenses/{iosVppAppAssignedLicense%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 IosVppAppAssignedLicense body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/assignedLicenses/{iosVppAppAssignedLicense%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/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/AssignmentsRequestBuilder.java index 4418e5077fe..c4c89cc6ab2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/assignments", 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/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 72a3254e4cb..70e3c3cb241 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java index d60f9e99aed..ac647643cea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/relationships", 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/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index d6ff1c2fd9d..bb98730a238 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/AssignmentsRequestBuilder.java index 8d7825af97b..85b9361a68f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/assignments", 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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 285c65d2177..50eb5134a7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/ContentVersionsRequestBuilder.java index cf02a6fb9ff..40a1c20e902 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/MobileAppContentItemRequestBuilder.java index bbc59279426..ab44584bfa6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index 1ddc468b45d..4efa275c4ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index a37a6a21254..ee67dcd9e12 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/FilesRequestBuilder.java index 45f13fc9ced..7d539b92555 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index c2f72d82696..02a06b750ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java index cf71c59555a..62879441aac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/relationships", 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/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 35a779c28af..067c15c0018 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/AssignmentsRequestBuilder.java index 868d37e8e52..37c2797176c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/assignments", 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/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index a633116356c..7ce9320467a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/ContentVersionsRequestBuilder.java index f6e81f74a58..2ddf71e22c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java index fbcf62a0e75..4b66edf4014 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index 403b145a9fb..6d65cfaf43b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index a88d7c0176a..0eae369ceb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/FilesRequestBuilder.java index b3724ba3fbf..8ed31631a99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index c8ea7391070..f31c34db8ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java index f8f0fb223fa..fa61178aa94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/relationships", 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/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 726439c1b88..c5f923dd0bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/AssignmentsRequestBuilder.java index 7bb2085d2dc..ff0faf622ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/assignments", 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/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 5560c4cbd75..04f581b412a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/ContentVersionsRequestBuilder.java index 1c54fbd0891..cb1b6924c86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/MobileAppContentItemRequestBuilder.java index 5ededf0d271..5e60292214c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index a4752206156..2852913a9dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index f8a57b9e496..350e7ece61d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/FilesRequestBuilder.java index fc5b4d6fd97..0f1d50dde03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index 0a0e820bdf0..1e02e99f1d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java index b74a7f7bf3d..60c827f1553 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/relationships", 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/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 9bca466e361..d281533fb62 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/AssignmentsRequestBuilder.java index 01035b37d0c..e048b6a99a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/assignments", 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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index d09a7da7be0..08f76f2bc2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/ContentVersionsRequestBuilder.java index d663fadee83..18ac8aceefa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.java index 053831b16d3..19ded301dd3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index f3f518bb9fb..619b03f6114 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index 0c502f11b28..e1bb56467ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/FilesRequestBuilder.java index 4a0257e8d1a..2b64f6f9221 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index 8abfa1ffca4..ef0a7dd80e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java index 514f550004f..1d02bc88588 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/relationships", 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/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index db864a21668..773a6aa21aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/AssignmentsRequestBuilder.java index 73d6398b414..2245fed56d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/assignments", 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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 1756942bafd..5ec2c42600a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/ContentVersionsRequestBuilder.java index 40309cda0cc..39acaffccfd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java index 71c63fc71f8..3e585e3eb49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index a664f2ef4eb..2c8371ab42e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index 5f32c18edff..32ad5d0d002 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/FilesRequestBuilder.java index 79172577290..e3c346bfc25 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index 646f1e42c56..261ba13e083 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java index 5188c7ac8d5..e699247752a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/relationships", 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/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 196d81d2752..22f0aff3b0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/AssignmentsRequestBuilder.java index 2f7ecf275cf..8e51c0296fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/assignments", 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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index c433490612d..100107718c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/ContentVersionsRequestBuilder.java index 4f559869809..0e55a4fa47a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/MobileAppContentItemRequestBuilder.java index d04e150eb2b..8cf51d5f27a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index 06e2fd0fb78..25a89fab635 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index 365fb0d699f..cb7c9e17984 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/FilesRequestBuilder.java index 88f9696365b..d177e0eb77b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index b0379c3ce53..4b784169da1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java index bc7d254e012..faa646754b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/relationships", 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/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 19257527363..c4e44738fc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/AssignmentsRequestBuilder.java index a295c716def..07f8c898c84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/assignments", 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/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 75fde957b6e..96e053c5a18 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/ContainedAppsRequestBuilder.java index 9567994fb61..cc90d664844 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/containedApps", 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/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/item/MobileContainedAppItemRequestBuilder.java index 6f661217fd0..af7cabca9c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java index 3649c8333c7..1324fa486f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/relationships", 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/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index dde1007c770..2c76825f527 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/AssignmentsRequestBuilder.java index b4d45f6b373..1eafb3a8c27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/assignments", 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/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 51febf2275a..0b6b168ba0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/ContentVersionsRequestBuilder.java index a0f361c81d5..d68a3973023 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions", 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/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/MobileAppContentItemRequestBuilder.java index cbc8537373f..36cc43f1c5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index f232cd2ef78..c87917d163c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index 2ca5de04bb3..ab885382d4f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/FilesRequestBuilder.java index 16a4010e4ba..73d1dedb7fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index a2c6425edab..65bf8452715 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java index 1449f9de109..ffc42ee8f86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/relationships", 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/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 7056755ae82..573cb5229a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/AssignmentsRequestBuilder.java index 26a2874040a..1418b844f5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/assignments", 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/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/item/MobileAppAssignmentItemRequestBuilder.java index b6d04f68393..a19a48cd10f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/ContentVersionsRequestBuilder.java index 48ab35af39e..4d6837448db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions", 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/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/MobileAppContentItemRequestBuilder.java index 38449848670..54304e6e0e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index 3d62d84779b..8222c3675bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index 4388d81765d..f1f81167732 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/FilesRequestBuilder.java index c7efe64e5e8..006c32ebb01 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index 3d034a1d7f4..e1d6b787409 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java index 1de59d8dee5..5e966ff3df5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/relationships", 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/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 12452e7b5f7..2d06381033a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/AssignmentsRequestBuilder.java index b75885769b4..fcaa88ecd42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/assignments", 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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 75da26192cf..bb5cde2e749 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/ContentVersionsRequestBuilder.java index 930ed40ab15..22ec68deff8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions", 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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/MobileAppContentItemRequestBuilder.java index 28c8b3cfcaf..80a4c122a84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index 6a060e464b2..130bdc64f0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index 29b7d0d7fa3..a8c1cfdcfda 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/FilesRequestBuilder.java index 315f4f62a2f..4ca89435fd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index e854afcc5f3..770d46a8c6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java index 7f7eeab40b4..38df293efb1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/relationships", 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/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 4713e9857ff..6fc0b00e297 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/AssignmentsRequestBuilder.java index 1306ead9092..403df1b3ea6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/assignments", 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/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 1701b4be810..5c25c3aa9d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java index 46bf6fd9c9b..b3ee7dc7b4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/relationships", 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/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 15285a6bdad..974e6aafb6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/AssignmentsRequestBuilder.java index c1c85cf5988..f07132b6d22 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/assignments", 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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/item/MobileAppAssignmentItemRequestBuilder.java index a84294717ca..0ca31e88f66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/CommittedContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/CommittedContainedAppsRequestBuilder.java index cf00a4e3ffe..8ff4b38a141 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/CommittedContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/CommittedContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/committedContainedApps", 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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/item/MobileContainedAppItemRequestBuilder.java index 532dbe49630..3169ea31af5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/committedcontainedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/committedContainedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/committedContainedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/ContentVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/ContentVersionsRequestBuilder.java index 885a41a98b8..adc692bfbaf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/ContentVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/ContentVersionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions", 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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/MobileAppContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/MobileAppContentItemRequestBuilder.java index e7bfa984d6c..c42137096a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/MobileAppContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/MobileAppContentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%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 MobileAppContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java index ba650c2af25..b6c552774d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/ContainedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/containedApps", 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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java index f0af876cff6..eb225038e10 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/containedapps/item/MobileContainedAppItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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 MobileContainedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/containedApps/{mobileContainedApp%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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/FilesRequestBuilder.java index 34d5c62d80f..7408b0c9afd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/FilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java index b0f926d52d1..b6746cb252f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/contentversions/item/files/item/MobileAppContentFileItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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 MobileAppContentFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/contentVersions/{mobileAppContent%2Did}/files/{mobileAppContentFile%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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java index 67a9b4f4ffb..c8965a3eedd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/relationships", 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/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 1090640d3ab..520ab96bff9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/AssignmentsRequestBuilder.java index b97c421c400..bedb366af71 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/assignments", 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/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 07d81fb9571..e0d1ce855ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java index f52a8d89747..96eb7788d90 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/relationships", 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/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index c1675ceb419..3d666d541d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/AssignmentsRequestBuilder.java index 361853eb66d..b86c71b989d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/assignments", 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/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java index 43253b75756..23b3302078a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/item/MobileAppAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/assignments/item/MobileAppAssignmentItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/assignments/{mobileAppAssignment%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 MobileAppAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/assignments/{mobileAppAssignment%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/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java index 4a47685b954..46e38ce5c5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/relationships", 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/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index ff4ce7880a0..ba71fedb0fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/relationships/{mobileAppRelationship%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/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java index 3be1349050f..bd8b64e2dc7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/relationships", 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/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java index dd20b2a2413..16159b61426 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.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}/deviceAppManagement/mobileApps/{mobileApp%2Did}/relationships/{mobileAppRelationship%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 MobileAppRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/relationships/{mobileAppRelationship%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/deviceappmanagement/policysets/PolicySetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/PolicySetsRequestBuilder.java index 32c4246e963..734ee27cb38 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/PolicySetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/PolicySetsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PolicySet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/policySets", 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/deviceappmanagement/policysets/item/PolicySetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/PolicySetItemRequestBuilder.java index a655af9829c..5e231e7888d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/PolicySetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/PolicySetItemRequestBuilder.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}/deviceAppManagement/policySets/{policySet%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 PolicySet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/policySets/{policySet%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/deviceappmanagement/policysets/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/assignments/AssignmentsRequestBuilder.java index 77d68cdee7c..337b7521d2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PolicySetAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/policySets/{policySet%2Did}/assignments", 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/deviceappmanagement/policysets/item/assignments/item/PolicySetAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/assignments/item/PolicySetAssignmentItemRequestBuilder.java index c5a3aeb827a..0f792a86a10 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/assignments/item/PolicySetAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/assignments/item/PolicySetAssignmentItemRequestBuilder.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}/deviceAppManagement/policySets/{policySet%2Did}/assignments/{policySetAssignment%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 PolicySetAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/policySets/{policySet%2Did}/assignments/{policySetAssignment%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/deviceappmanagement/policysets/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/items/ItemsRequestBuilder.java index a3c238dd177..5776acfbfab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/items/ItemsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PolicySetItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/policySets/{policySet%2Did}/items", 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/deviceappmanagement/policysets/item/items/item/PolicySetItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/items/item/PolicySetItemItemRequestBuilder.java index 56e8056d8fa..b61f271052d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/items/item/PolicySetItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/policysets/item/items/item/PolicySetItemItemRequestBuilder.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}/deviceAppManagement/policySets/{policySet%2Did}/items/{policySetItem%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 PolicySetItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/policySets/{policySet%2Did}/items/{policySetItem%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/deviceappmanagement/symanteccodesigningcertificate/SymantecCodeSigningCertificateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/symanteccodesigningcertificate/SymantecCodeSigningCertificateRequestBuilder.java index 0954cd83ba6..75ccd3e7070 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/symanteccodesigningcertificate/SymantecCodeSigningCertificateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/symanteccodesigningcertificate/SymantecCodeSigningCertificateRequestBuilder.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}/deviceAppManagement/symantecCodeSigningCertificate", 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 SymantecCodeSigningCertificate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/symantecCodeSigningCertificate", 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/deviceappmanagement/targetedmanagedappconfigurations/TargetedManagedAppConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/TargetedManagedAppConfigurationsRequestBuilder.java index 96389d2d76b..9961ae8c6b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/TargetedManagedAppConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/TargetedManagedAppConfigurationsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedManagedAppConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations", 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/deviceappmanagement/targetedmanagedappconfigurations/item/TargetedManagedAppConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/TargetedManagedAppConfigurationItemRequestBuilder.java index af8a0d93c16..5ee74b3df4a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/TargetedManagedAppConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/TargetedManagedAppConfigurationItemRequestBuilder.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}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}", 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 TargetedManagedAppConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%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/deviceappmanagement/targetedmanagedappconfigurations/item/apps/AppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/apps/AppsRequestBuilder.java index 0ee08eae6f7..0219019c9b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/apps/AppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/apps/AppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/apps", 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/deviceappmanagement/targetedmanagedappconfigurations/item/apps/item/ManagedMobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/apps/item/ManagedMobileAppItemRequestBuilder.java index 8887d05a5b1..507205b920d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/apps/item/ManagedMobileAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/apps/item/ManagedMobileAppItemRequestBuilder.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}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/apps/{managedMobileApp%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 ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/apps/{managedMobileApp%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/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/AssignmentsRequestBuilder.java index d5c9a5075a7..2364ddaae35 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/assignments", 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/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java index c40cc0a0c6f..3274c6bebf8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.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}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/assignments/{targetedManagedAppPolicyAssignment%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 TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/assignments/{targetedManagedAppPolicyAssignment%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/deviceappmanagement/targetedmanagedappconfigurations/item/deploymentsummary/DeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/deploymentsummary/DeploymentSummaryRequestBuilder.java index c8cdc1ef6dd..a3cabae8710 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/deploymentsummary/DeploymentSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/deploymentsummary/DeploymentSummaryRequestBuilder.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}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/deploymentSummary", 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 ManagedAppPolicyDeploymentSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/deploymentSummary", 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/deviceappmanagement/targetedmanagedappconfigurations/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/settings/SettingsRequestBuilder.java index 1aa7fb14e44..0997aa52845 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/settings", 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/deviceappmanagement/targetedmanagedappconfigurations/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java index d0c0e0b8a96..85b70e1bf1f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/targetedmanagedappconfigurations/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.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}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/settings/{deviceManagementConfigurationSetting%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 DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/targetedManagedAppConfigurations/{targetedManagedAppConfiguration%2Did}/settings/{deviceManagementConfigurationSetting%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/deviceappmanagement/vpptokens/VppTokensRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/vpptokens/VppTokensRequestBuilder.java index 09c1c93febb..33c75359744 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/vpptokens/VppTokensRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/vpptokens/VppTokensRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final VppToken body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/vppTokens", 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/deviceappmanagement/vpptokens/item/VppTokenItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/vpptokens/item/VppTokenItemRequestBuilder.java index 725bd80528b..614b782438d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/vpptokens/item/VppTokenItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/vpptokens/item/VppTokenItemRequestBuilder.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}/deviceAppManagement/vppTokens/{vppToken%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 VppToken body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/vppTokens/{vppToken%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/deviceappmanagement/wdacsupplementalpolicies/WdacSupplementalPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/WdacSupplementalPoliciesRequestBuilder.java index e720cfed1ec..ba657a45b44 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/WdacSupplementalPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/WdacSupplementalPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDefenderApplicationControlSupplementalPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/wdacSupplementalPolicies", 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/deviceappmanagement/wdacsupplementalpolicies/item/WindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/WindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder.java index 5009409625b..7a93314470a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/WindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/WindowsDefenderApplicationControlSupplementalPolicyItemRequestBuilder.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}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%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 WindowsDefenderApplicationControlSupplementalPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%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/deviceappmanagement/wdacsupplementalpolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/assignments/AssignmentsRequestBuilder.java index f225927afe2..a59f1d13cb3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDefenderApplicationControlSupplementalPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/assignments", 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/deviceappmanagement/wdacsupplementalpolicies/item/assignments/item/WindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/assignments/item/WindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder.java index e5c3e58f627..5657584e094 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/assignments/item/WindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/assignments/item/WindowsDefenderApplicationControlSupplementalPolicyAssignmentItemRequestBuilder.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}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/assignments/{windowsDefenderApplicationControlSupplementalPolicyAssignment%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 WindowsDefenderApplicationControlSupplementalPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/assignments/{windowsDefenderApplicationControlSupplementalPolicyAssignment%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/deviceappmanagement/wdacsupplementalpolicies/item/deploysummary/DeploySummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/deploysummary/DeploySummaryRequestBuilder.java index cfac1df8bae..08ba836bb5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/deploysummary/DeploySummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/deploysummary/DeploySummaryRequestBuilder.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}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/deploySummary", 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 WindowsDefenderApplicationControlSupplementalPolicyDeploymentSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/deploySummary", 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/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java index dcc184fe486..e0a1b8a581c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/deviceStatuses", 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/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/item/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/item/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder.java index 60075894942..c8037c93922 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/item/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/wdacsupplementalpolicies/item/devicestatuses/item/WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatusItemRequestBuilder.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}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/deviceStatuses/{windowsDefenderApplicationControlSupplementalPolicyDeploymentStatus%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 WindowsDefenderApplicationControlSupplementalPolicyDeploymentStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/wdacSupplementalPolicies/{windowsDefenderApplicationControlSupplementalPolicy%2Did}/deviceStatuses/{windowsDefenderApplicationControlSupplementalPolicyDeploymentStatus%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/deviceappmanagement/windowsinformationprotectiondeviceregistrations/WindowsInformationProtectionDeviceRegistrationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectiondeviceregistrations/WindowsInformationProtectionDeviceRegistrationsRequestBuilder.java index 5c3cbbe5aca..600f2576980 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectiondeviceregistrations/WindowsInformationProtectionDeviceRegistrationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectiondeviceregistrations/WindowsInformationProtectionDeviceRegistrationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionDeviceRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsInformationProtectionDeviceRegistrations", 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/deviceappmanagement/windowsinformationprotectiondeviceregistrations/item/WindowsInformationProtectionDeviceRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectiondeviceregistrations/item/WindowsInformationProtectionDeviceRegistrationItemRequestBuilder.java index f085c03e2ab..244fb46c1e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectiondeviceregistrations/item/WindowsInformationProtectionDeviceRegistrationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectiondeviceregistrations/item/WindowsInformationProtectionDeviceRegistrationItemRequestBuilder.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}/deviceAppManagement/windowsInformationProtectionDeviceRegistrations/{windowsInformationProtectionDeviceRegistration%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 WindowsInformationProtectionDeviceRegistration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsInformationProtectionDeviceRegistrations/{windowsInformationProtectionDeviceRegistration%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/deviceappmanagement/windowsinformationprotectionpolicies/WindowsInformationProtectionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/WindowsInformationProtectionPoliciesRequestBuilder.java index beeb9861b12..cf3c1d485ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/WindowsInformationProtectionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/WindowsInformationProtectionPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies", 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/deviceappmanagement/windowsinformationprotectionpolicies/item/WindowsInformationProtectionPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/WindowsInformationProtectionPolicyItemRequestBuilder.java index 616d1864076..b324cf599e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/WindowsInformationProtectionPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/WindowsInformationProtectionPolicyItemRequestBuilder.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}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%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 WindowsInformationProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%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/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java index 64bc4d50f88..c92196f4dc0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/assignments", 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/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java index 6d7eebd8532..aa11c9801b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.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}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/assignments/{targetedManagedAppPolicyAssignment%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 TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/assignments/{targetedManagedAppPolicyAssignment%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/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java index cd476b25238..88233af472c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/ExemptAppLockerFilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/exemptAppLockerFiles", 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/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java index 49e5d9868eb..8ac3ccb0e32 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/exemptapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.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}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFile%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 WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/exemptAppLockerFiles/{windowsInformationProtectionAppLockerFile%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/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java index f6fd8849f3c..8147f7df894 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/ProtectedAppLockerFilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/protectedAppLockerFiles", 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/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java index b60c93d4188..986c58d9331 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionpolicies/item/protectedapplockerfiles/item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.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}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFile%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 WindowsInformationProtectionAppLockerFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicy%2Did}/protectedAppLockerFiles/{windowsInformationProtectionAppLockerFile%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/deviceappmanagement/windowsinformationprotectionwipeactions/WindowsInformationProtectionWipeActionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionwipeactions/WindowsInformationProtectionWipeActionsRequestBuilder.java index 95b7b99727e..a53050622f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionwipeactions/WindowsInformationProtectionWipeActionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionwipeactions/WindowsInformationProtectionWipeActionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionWipeAction body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsInformationProtectionWipeActions", 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/deviceappmanagement/windowsinformationprotectionwipeactions/item/WindowsInformationProtectionWipeActionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionwipeactions/item/WindowsInformationProtectionWipeActionItemRequestBuilder.java index 0ac170db402..dedf8af37b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionwipeactions/item/WindowsInformationProtectionWipeActionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsinformationprotectionwipeactions/item/WindowsInformationProtectionWipeActionItemRequestBuilder.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}/deviceAppManagement/windowsInformationProtectionWipeActions/{windowsInformationProtectionWipeAction%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 WindowsInformationProtectionWipeAction body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsInformationProtectionWipeActions/{windowsInformationProtectionWipeAction%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/deviceappmanagement/windowsmanagedappprotections/WindowsManagedAppProtectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/WindowsManagedAppProtectionsRequestBuilder.java index 4d354cedbc5..cfe710c6e00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/WindowsManagedAppProtectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/WindowsManagedAppProtectionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections", 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/deviceappmanagement/windowsmanagedappprotections/item/WindowsManagedAppProtectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/WindowsManagedAppProtectionItemRequestBuilder.java index 27d91e31bdc..cb9ddb12a3c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/WindowsManagedAppProtectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/WindowsManagedAppProtectionItemRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.deviceappmanagement.windowsmanagedappprotections.item.apps.AppsRequestBuilder; import com.microsoft.graph.beta.deviceappmanagement.windowsmanagedappprotections.item.assign.AssignRequestBuilder; import com.microsoft.graph.beta.deviceappmanagement.windowsmanagedappprotections.item.assignments.AssignmentsRequestBuilder; +import com.microsoft.graph.beta.deviceappmanagement.windowsmanagedappprotections.item.deploymentsummary.DeploymentSummaryRequestBuilder; import com.microsoft.graph.beta.deviceappmanagement.windowsmanagedappprotections.item.targetapps.TargetAppsRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.WindowsManagedAppProtection; @@ -48,6 +49,14 @@ public AssignRequestBuilder assign() { public AssignmentsRequestBuilder assignments() { return new AssignmentsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the deploymentSummary property of the microsoft.graph.windowsManagedAppProtection entity. + * @return a {@link DeploymentSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeploymentSummaryRequestBuilder deploymentSummary() { + return new DeploymentSummaryRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the targetApps method. * @return a {@link TargetAppsRequestBuilder} @@ -152,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}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%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 +204,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WindowsManagedAppProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%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/deviceappmanagement/windowsmanagedappprotections/item/apps/AppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/apps/AppsRequestBuilder.java index 77034100533..8edaf56d582 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/apps/AppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/apps/AppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/apps", 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/deviceappmanagement/windowsmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java index 14a0539e7e5..484bb265ed3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/apps/item/ManagedMobileAppItemRequestBuilder.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}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/apps/{managedMobileApp%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 ManagedMobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/apps/{managedMobileApp%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/deviceappmanagement/windowsmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java index 4d422e75834..40fb7fa46a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/assignments", 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/deviceappmanagement/windowsmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java index 42bc30af892..75e9fb248ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/assignments/item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.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}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/assignments/{targetedManagedAppPolicyAssignment%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 TargetedManagedAppPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/assignments/{targetedManagedAppPolicyAssignment%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/deviceappmanagement/windowsmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java new file mode 100644 index 00000000000..acb77bec6aa --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/windowsmanagedappprotections/item/deploymentsummary/DeploymentSummaryRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.deviceappmanagement.windowsmanagedappprotections.item.deploymentsummary; + +import com.microsoft.graph.beta.models.ManagedAppPolicyDeploymentSummary; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the deploymentSummary property of the microsoft.graph.windowsManagedAppProtection entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeploymentSummaryRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DeploymentSummaryRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeploymentSummaryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/deploymentSummary{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DeploymentSummaryRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeploymentSummaryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceAppManagement/windowsManagedAppProtections/{windowsManagedAppProtection%2Did}/deploymentSummary{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property deploymentSummary for deviceAppManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property deploymentSummary for deviceAppManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Navigation property to deployment summary of the configuration. + * @return a {@link ManagedAppPolicyDeploymentSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppPolicyDeploymentSummary get() { + return get(null); + } + /** + * Navigation property to deployment summary of the configuration. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ManagedAppPolicyDeploymentSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppPolicyDeploymentSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppPolicyDeploymentSummary::createFromDiscriminatorValue); + } + /** + * Update the navigation property deploymentSummary in deviceAppManagement + * @param body The request body + * @return a {@link ManagedAppPolicyDeploymentSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppPolicyDeploymentSummary patch(@jakarta.annotation.Nonnull final ManagedAppPolicyDeploymentSummary body) { + return patch(body, null); + } + /** + * Update the navigation property deploymentSummary in deviceAppManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ManagedAppPolicyDeploymentSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ManagedAppPolicyDeploymentSummary patch(@jakarta.annotation.Nonnull final ManagedAppPolicyDeploymentSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppPolicyDeploymentSummary::createFromDiscriminatorValue); + } + /** + * Delete navigation property deploymentSummary for deviceAppManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property deploymentSummary for deviceAppManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Navigation property to deployment summary of the configuration. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Navigation property to deployment summary of the configuration. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property deploymentSummary in deviceAppManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedAppPolicyDeploymentSummary body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property deploymentSummary in deviceAppManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedAppPolicyDeploymentSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link DeploymentSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeploymentSummaryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeploymentSummaryRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Navigation property to deployment summary of the configuration. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java index 401bad570c9..469e63477d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceLocalCredentialInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceLocalCredentials", 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/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.java index 7e6b294d5f5..975f14dcd37 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.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}/deviceLocalCredentials/{deviceLocalCredentialInfo%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 DeviceLocalCredentialInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceLocalCredentials/{deviceLocalCredentialInfo%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/devicemanagement/DeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/DeviceManagementRequestBuilder.java index 86bdec6a5b3..2c5011aacc0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/DeviceManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/DeviceManagementRequestBuilder.java @@ -40,6 +40,7 @@ import com.microsoft.graph.beta.devicemanagement.devicecompliancescripts.DeviceComplianceScriptsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.deviceconfigurationconflictsummary.DeviceConfigurationConflictSummaryRequestBuilder; import com.microsoft.graph.beta.devicemanagement.deviceconfigurationdevicestatesummaries.DeviceConfigurationDeviceStateSummariesRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.deviceconfigurationprofiles.DeviceConfigurationProfilesRequestBuilder; import com.microsoft.graph.beta.devicemanagement.deviceconfigurationrestrictedappsviolations.DeviceConfigurationRestrictedAppsViolationsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.deviceconfigurations.DeviceConfigurationsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.deviceconfigurationsallmanageddevicecertificatestates.DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder; @@ -76,6 +77,8 @@ import com.microsoft.graph.beta.devicemanagement.grouppolicymigrationreports.GroupPolicyMigrationReportsRequestBuilder; import com.microsoft.graph.beta.devicemanagement.grouppolicyobjectfiles.GroupPolicyObjectFilesRequestBuilder; import com.microsoft.graph.beta.devicemanagement.grouppolicyuploadeddefinitionfiles.GroupPolicyUploadedDefinitionFilesRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.HardwareConfigurationsRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwarepasswordinfo.HardwarePasswordInfoRequestBuilder; import com.microsoft.graph.beta.devicemanagement.importeddeviceidentities.ImportedDeviceIdentitiesRequestBuilder; import com.microsoft.graph.beta.devicemanagement.importedwindowsautopilotdeviceidentities.ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder; import com.microsoft.graph.beta.devicemanagement.intents.IntentsRequestBuilder; @@ -523,6 +526,14 @@ public DeviceConfigurationConflictSummaryRequestBuilder deviceConfigurationConfl public DeviceConfigurationDeviceStateSummariesRequestBuilder deviceConfigurationDeviceStateSummaries() { return new DeviceConfigurationDeviceStateSummariesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the deviceConfigurationProfiles property of the microsoft.graph.deviceManagement entity. + * @return a {@link DeviceConfigurationProfilesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeviceConfigurationProfilesRequestBuilder deviceConfigurationProfiles() { + return new DeviceConfigurationProfilesRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the deviceConfigurationRestrictedAppsViolations property of the microsoft.graph.deviceManagement entity. * @return a {@link DeviceConfigurationRestrictedAppsViolationsRequestBuilder} @@ -779,6 +790,22 @@ public GroupPolicyObjectFilesRequestBuilder groupPolicyObjectFiles() { public GroupPolicyUploadedDefinitionFilesRequestBuilder groupPolicyUploadedDefinitionFiles() { return new GroupPolicyUploadedDefinitionFilesRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the hardwareConfigurations property of the microsoft.graph.deviceManagement entity. + * @return a {@link HardwareConfigurationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationsRequestBuilder hardwareConfigurations() { + return new HardwareConfigurationsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the hardwarePasswordInfo property of the microsoft.graph.deviceManagement entity. + * @return a {@link HardwarePasswordInfoRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwarePasswordInfoRequestBuilder hardwarePasswordInfo() { + return new HardwarePasswordInfoRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the importedDeviceIdentities property of the microsoft.graph.deviceManagement entity. * @return a {@link ImportedDeviceIdentitiesRequestBuilder} @@ -1770,7 +1797,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement", 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/devicemanagement/advancedthreatprotectiononboardingstatesummary/AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder.java index 4d0066e887c..e3d9478abfd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/AdvancedThreatProtectionOnboardingStateSummaryRequestBuilder.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}/deviceManagement/advancedThreatProtectionOnboardingStateSummary", 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 AdvancedThreatProtectionOnboardingStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/advancedThreatProtectionOnboardingStateSummary", 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/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/AdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/AdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder.java index cbdc9ac7bf6..464524a0d1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/AdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/AdvancedThreatProtectionOnboardingDeviceSettingStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AdvancedThreatProtectionOnboardingDeviceSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/advancedThreatProtectionOnboardingStateSummary/advancedThreatProtectionOnboardingDeviceSettingStates", 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/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/item/AdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/item/AdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder.java index 4b25850474f..8626fe9e273 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/item/AdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/advancedthreatprotectiononboardingstatesummary/advancedthreatprotectiononboardingdevicesettingstates/item/AdvancedThreatProtectionOnboardingDeviceSettingStateItemRequestBuilder.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}/deviceManagement/advancedThreatProtectionOnboardingStateSummary/advancedThreatProtectionOnboardingDeviceSettingStates/{advancedThreatProtectionOnboardingDeviceSettingState%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 AdvancedThreatProtectionOnboardingDeviceSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/advancedThreatProtectionOnboardingStateSummary/advancedThreatProtectionOnboardingDeviceSettingStates/{advancedThreatProtectionOnboardingDeviceSettingState%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/devicemanagement/androiddeviceownerenrollmentprofiles/AndroidDeviceOwnerEnrollmentProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androiddeviceownerenrollmentprofiles/AndroidDeviceOwnerEnrollmentProfilesRequestBuilder.java index 4794ac2d020..53dd3fa46ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androiddeviceownerenrollmentprofiles/AndroidDeviceOwnerEnrollmentProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androiddeviceownerenrollmentprofiles/AndroidDeviceOwnerEnrollmentProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AndroidDeviceOwnerEnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/androidDeviceOwnerEnrollmentProfiles", 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/devicemanagement/androiddeviceownerenrollmentprofiles/item/AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androiddeviceownerenrollmentprofiles/item/AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder.java index c8d90a43cc3..a730f3526f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androiddeviceownerenrollmentprofiles/item/AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androiddeviceownerenrollmentprofiles/item/AndroidDeviceOwnerEnrollmentProfileItemRequestBuilder.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}/deviceManagement/androidDeviceOwnerEnrollmentProfiles/{androidDeviceOwnerEnrollmentProfile%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 AndroidDeviceOwnerEnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/androidDeviceOwnerEnrollmentProfiles/{androidDeviceOwnerEnrollmentProfile%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/devicemanagement/androidforworkappconfigurationschemas/AndroidForWorkAppConfigurationSchemasRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkappconfigurationschemas/AndroidForWorkAppConfigurationSchemasRequestBuilder.java index cf80569a244..699ddabaab7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkappconfigurationschemas/AndroidForWorkAppConfigurationSchemasRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkappconfigurationschemas/AndroidForWorkAppConfigurationSchemasRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AndroidForWorkAppConfigurationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/androidForWorkAppConfigurationSchemas", 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/devicemanagement/androidforworkappconfigurationschemas/item/AndroidForWorkAppConfigurationSchemaItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkappconfigurationschemas/item/AndroidForWorkAppConfigurationSchemaItemRequestBuilder.java index a04f6ec5d4b..ebb66c4a1d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkappconfigurationschemas/item/AndroidForWorkAppConfigurationSchemaItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkappconfigurationschemas/item/AndroidForWorkAppConfigurationSchemaItemRequestBuilder.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}/deviceManagement/androidForWorkAppConfigurationSchemas/{androidForWorkAppConfigurationSchema%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 AndroidForWorkAppConfigurationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/androidForWorkAppConfigurationSchemas/{androidForWorkAppConfigurationSchema%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/devicemanagement/androidforworkenrollmentprofiles/AndroidForWorkEnrollmentProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkenrollmentprofiles/AndroidForWorkEnrollmentProfilesRequestBuilder.java index 8e0765f4884..0495b7677f3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkenrollmentprofiles/AndroidForWorkEnrollmentProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkenrollmentprofiles/AndroidForWorkEnrollmentProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AndroidForWorkEnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/androidForWorkEnrollmentProfiles", 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/devicemanagement/androidforworkenrollmentprofiles/item/AndroidForWorkEnrollmentProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkenrollmentprofiles/item/AndroidForWorkEnrollmentProfileItemRequestBuilder.java index 0268235c81d..73abb19522c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkenrollmentprofiles/item/AndroidForWorkEnrollmentProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworkenrollmentprofiles/item/AndroidForWorkEnrollmentProfileItemRequestBuilder.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}/deviceManagement/androidForWorkEnrollmentProfiles/{androidForWorkEnrollmentProfile%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 AndroidForWorkEnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/androidForWorkEnrollmentProfiles/{androidForWorkEnrollmentProfile%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/devicemanagement/androidforworksettings/AndroidForWorkSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworksettings/AndroidForWorkSettingsRequestBuilder.java index 35c89ba349e..eebe76f3089 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworksettings/AndroidForWorkSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidforworksettings/AndroidForWorkSettingsRequestBuilder.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}/deviceManagement/androidForWorkSettings", 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 AndroidForWorkSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/androidForWorkSettings", 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/devicemanagement/androidmanagedstoreaccountenterprisesettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreaccountenterprisesettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.java index a834d4679cc..e9df60ff134 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreaccountenterprisesettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreaccountenterprisesettings/AndroidManagedStoreAccountEnterpriseSettingsRequestBuilder.java @@ -188,7 +188,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}/deviceManagement/androidManagedStoreAccountEnterpriseSettings", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AndroidManagedStoreAccountEnterpriseSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/androidManagedStoreAccountEnterpriseSettings", 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/devicemanagement/androidmanagedstoreappconfigurationschemas/AndroidManagedStoreAppConfigurationSchemasRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreappconfigurationschemas/AndroidManagedStoreAppConfigurationSchemasRequestBuilder.java index 0c5ebc0c3d0..f106ee342ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreappconfigurationschemas/AndroidManagedStoreAppConfigurationSchemasRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreappconfigurationschemas/AndroidManagedStoreAppConfigurationSchemasRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AndroidManagedStoreAppConfigurationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/androidManagedStoreAppConfigurationSchemas", 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/devicemanagement/androidmanagedstoreappconfigurationschemas/item/AndroidManagedStoreAppConfigurationSchemaItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreappconfigurationschemas/item/AndroidManagedStoreAppConfigurationSchemaItemRequestBuilder.java index 533f716b501..3e58f87a152 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreappconfigurationschemas/item/AndroidManagedStoreAppConfigurationSchemaItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/androidmanagedstoreappconfigurationschemas/item/AndroidManagedStoreAppConfigurationSchemaItemRequestBuilder.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}/deviceManagement/androidManagedStoreAppConfigurationSchemas/{androidManagedStoreAppConfigurationSchema%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 AndroidManagedStoreAppConfigurationSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/androidManagedStoreAppConfigurationSchemas/{androidManagedStoreAppConfigurationSchema%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/devicemanagement/applepushnotificationcertificate/ApplePushNotificationCertificateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/applepushnotificationcertificate/ApplePushNotificationCertificateRequestBuilder.java index 1445556367b..12538ac3919 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/applepushnotificationcertificate/ApplePushNotificationCertificateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/applepushnotificationcertificate/ApplePushNotificationCertificateRequestBuilder.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}/deviceManagement/applePushNotificationCertificate", 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 ApplePushNotificationCertificate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/applePushNotificationCertificate", 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/devicemanagement/appleuserinitiatedenrollmentprofiles/AppleUserInitiatedEnrollmentProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/AppleUserInitiatedEnrollmentProfilesRequestBuilder.java index b13291e8898..2efdf15e3e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/AppleUserInitiatedEnrollmentProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/AppleUserInitiatedEnrollmentProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppleUserInitiatedEnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/appleUserInitiatedEnrollmentProfiles", 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/devicemanagement/appleuserinitiatedenrollmentprofiles/item/AppleUserInitiatedEnrollmentProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/AppleUserInitiatedEnrollmentProfileItemRequestBuilder.java index ff399c91e6b..0af84c4f6b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/AppleUserInitiatedEnrollmentProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/AppleUserInitiatedEnrollmentProfileItemRequestBuilder.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}/deviceManagement/appleUserInitiatedEnrollmentProfiles/{appleUserInitiatedEnrollmentProfile%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 AppleUserInitiatedEnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/appleUserInitiatedEnrollmentProfiles/{appleUserInitiatedEnrollmentProfile%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/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/AssignmentsRequestBuilder.java index a2b5856775d..81a0b48a404 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppleEnrollmentProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/appleUserInitiatedEnrollmentProfiles/{appleUserInitiatedEnrollmentProfile%2Did}/assignments", 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/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/item/AppleEnrollmentProfileAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/item/AppleEnrollmentProfileAssignmentItemRequestBuilder.java index 9830d2a1d65..da13b679741 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/item/AppleEnrollmentProfileAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/appleuserinitiatedenrollmentprofiles/item/assignments/item/AppleEnrollmentProfileAssignmentItemRequestBuilder.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}/deviceManagement/appleUserInitiatedEnrollmentProfiles/{appleUserInitiatedEnrollmentProfile%2Did}/assignments/{appleEnrollmentProfileAssignment%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 AppleEnrollmentProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/appleUserInitiatedEnrollmentProfiles/{appleUserInitiatedEnrollmentProfile%2Did}/assignments/{appleEnrollmentProfileAssignment%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/devicemanagement/assignmentfilters/AssignmentFiltersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/assignmentfilters/AssignmentFiltersRequestBuilder.java index 53b721db3ad..91b9341b340 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/assignmentfilters/AssignmentFiltersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/assignmentfilters/AssignmentFiltersRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceAndAppManagementAssignmentFilter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/assignmentFilters", 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/devicemanagement/assignmentfilters/item/DeviceAndAppManagementAssignmentFilterItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/assignmentfilters/item/DeviceAndAppManagementAssignmentFilterItemRequestBuilder.java index c5888bed271..9a5efb8f3ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/assignmentfilters/item/DeviceAndAppManagementAssignmentFilterItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/assignmentfilters/item/DeviceAndAppManagementAssignmentFilterItemRequestBuilder.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}/deviceManagement/assignmentFilters/{deviceAndAppManagementAssignmentFilter%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 DeviceAndAppManagementAssignmentFilter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/assignmentFilters/{deviceAndAppManagementAssignmentFilter%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/devicemanagement/auditevents/AuditEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/auditevents/AuditEventsRequestBuilder.java index 4d7ce44ca6b..927509795e8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/auditevents/AuditEventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/auditevents/AuditEventsRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuditEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/auditEvents", 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/devicemanagement/auditevents/item/AuditEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/auditevents/item/AuditEventItemRequestBuilder.java index 0f7a497be86..e4a624a35b3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/auditevents/item/AuditEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/auditevents/item/AuditEventItemRequestBuilder.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}/deviceManagement/auditEvents/{auditEvent%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 AuditEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/auditEvents/{auditEvent%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/devicemanagement/autopilotevents/AutopilotEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/AutopilotEventsRequestBuilder.java index 713e508602a..e9163ce8df4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/AutopilotEventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/AutopilotEventsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementAutopilotEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/autopilotEvents", 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/devicemanagement/autopilotevents/item/DeviceManagementAutopilotEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/DeviceManagementAutopilotEventItemRequestBuilder.java index 136b2109141..c4b292b9ad8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/DeviceManagementAutopilotEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/DeviceManagementAutopilotEventItemRequestBuilder.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}/deviceManagement/autopilotEvents/{deviceManagementAutopilotEvent%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 DeviceManagementAutopilotEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/autopilotEvents/{deviceManagementAutopilotEvent%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/devicemanagement/autopilotevents/item/policystatusdetails/PolicyStatusDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/policystatusdetails/PolicyStatusDetailsRequestBuilder.java index 7525f598d23..c0c317aa824 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/policystatusdetails/PolicyStatusDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/policystatusdetails/PolicyStatusDetailsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementAutopilotPolicyStatusDetail body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/autopilotEvents/{deviceManagementAutopilotEvent%2Did}/policyStatusDetails", 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/devicemanagement/autopilotevents/item/policystatusdetails/item/DeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/policystatusdetails/item/DeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder.java index 9c6d6b291a6..51760265ea0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/policystatusdetails/item/DeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/autopilotevents/item/policystatusdetails/item/DeviceManagementAutopilotPolicyStatusDetailItemRequestBuilder.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}/deviceManagement/autopilotEvents/{deviceManagementAutopilotEvent%2Did}/policyStatusDetails/{deviceManagementAutopilotPolicyStatusDetail%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 DeviceManagementAutopilotPolicyStatusDetail body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/autopilotEvents/{deviceManagementAutopilotEvent%2Did}/policyStatusDetails/{deviceManagementAutopilotPolicyStatusDetail%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/devicemanagement/carttoclassassociations/CartToClassAssociationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/carttoclassassociations/CartToClassAssociationsRequestBuilder.java index 58a3537e5b6..ed355b9fa58 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/carttoclassassociations/CartToClassAssociationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/carttoclassassociations/CartToClassAssociationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CartToClassAssociation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/cartToClassAssociations", 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/devicemanagement/carttoclassassociations/item/CartToClassAssociationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/carttoclassassociations/item/CartToClassAssociationItemRequestBuilder.java index 86af6cf0cf9..2120f78dbe3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/carttoclassassociations/item/CartToClassAssociationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/carttoclassassociations/item/CartToClassAssociationItemRequestBuilder.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}/deviceManagement/cartToClassAssociations/{cartToClassAssociation%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 CartToClassAssociation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/cartToClassAssociations/{cartToClassAssociation%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/devicemanagement/categories/CategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/CategoriesRequestBuilder.java index dbb72e0ca88..4a99b3eb24e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/CategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/CategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/categories", 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/devicemanagement/categories/item/DeviceManagementSettingCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/DeviceManagementSettingCategoryItemRequestBuilder.java index 34af7a17f84..da80a441dff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/DeviceManagementSettingCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/DeviceManagementSettingCategoryItemRequestBuilder.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}/deviceManagement/categories/{deviceManagementSettingCategory%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 DeviceManagementSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/categories/{deviceManagementSettingCategory%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/devicemanagement/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java index 37ef4f39e2b..8d06b859c19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/categories/{deviceManagementSettingCategory%2Did}/settingDefinitions", 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/devicemanagement/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java index 8179d562991..7e0b9e3aeac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.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}/deviceManagement/categories/{deviceManagementSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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 DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/categories/{deviceManagementSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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/devicemanagement/certificateconnectordetails/CertificateConnectorDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/certificateconnectordetails/CertificateConnectorDetailsRequestBuilder.java index e15c95df5b1..831a3887298 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/certificateconnectordetails/CertificateConnectorDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/certificateconnectordetails/CertificateConnectorDetailsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CertificateConnectorDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/certificateConnectorDetails", 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/devicemanagement/certificateconnectordetails/item/CertificateConnectorDetailsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/certificateconnectordetails/item/CertificateConnectorDetailsItemRequestBuilder.java index d415775c07a..05f3924680c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/certificateconnectordetails/item/CertificateConnectorDetailsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/certificateconnectordetails/item/CertificateConnectorDetailsItemRequestBuilder.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}/deviceManagement/certificateConnectorDetails/{certificateConnectorDetails%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 CertificateConnectorDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/certificateConnectorDetails/{certificateConnectorDetails%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/devicemanagement/chromeosonboardingsettings/ChromeOSOnboardingSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/chromeosonboardingsettings/ChromeOSOnboardingSettingsRequestBuilder.java index 004b453cce8..cfc483d33ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/chromeosonboardingsettings/ChromeOSOnboardingSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/chromeosonboardingsettings/ChromeOSOnboardingSettingsRequestBuilder.java @@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChromeOSOnboardingSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/chromeOSOnboardingSettings", 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/devicemanagement/chromeosonboardingsettings/item/ChromeOSOnboardingSettingsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/chromeosonboardingsettings/item/ChromeOSOnboardingSettingsItemRequestBuilder.java index 4b9539fa257..c9b23031ecf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/chromeosonboardingsettings/item/ChromeOSOnboardingSettingsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/chromeosonboardingsettings/item/ChromeOSOnboardingSettingsItemRequestBuilder.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}/deviceManagement/chromeOSOnboardingSettings/{chromeOSOnboardingSettings%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 ChromeOSOnboardingSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/chromeOSOnboardingSettings/{chromeOSOnboardingSettings%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/devicemanagement/cloudpcconnectivityissues/CloudPCConnectivityIssuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/cloudpcconnectivityissues/CloudPCConnectivityIssuesRequestBuilder.java index 482362be348..3f925098848 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/cloudpcconnectivityissues/CloudPCConnectivityIssuesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/cloudpcconnectivityissues/CloudPCConnectivityIssuesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPCConnectivityIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/cloudPCConnectivityIssues", 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/devicemanagement/cloudpcconnectivityissues/item/CloudPCConnectivityIssueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/cloudpcconnectivityissues/item/CloudPCConnectivityIssueItemRequestBuilder.java index 7360f771240..1b6f336a926 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/cloudpcconnectivityissues/item/CloudPCConnectivityIssueItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/cloudpcconnectivityissues/item/CloudPCConnectivityIssueItemRequestBuilder.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}/deviceManagement/cloudPCConnectivityIssues/{cloudPCConnectivityIssue%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 CloudPCConnectivityIssue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/cloudPCConnectivityIssues/{cloudPCConnectivityIssue%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/devicemanagement/comanageddevices/ComanagedDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/ComanagedDevicesRequestBuilder.java index c86a6148faf..02d83f8f8fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/ComanagedDevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/ComanagedDevicesRequestBuilder.java @@ -209,7 +209,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices", 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/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java index b6e19999fda..42d41a257bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java @@ -638,7 +638,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}/deviceManagement/comanagedDevices/{managedDevice%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -681,7 +681,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%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/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java index 81cd2368a8c..118b7f93940 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AssignmentFilterEvaluationStatusDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/assignmentFilterEvaluationStatusDetails", 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/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.java index 774fb0d4249..3f03880e87b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/assignmentFilterEvaluationStatusDetails/{assignmentFilterEvaluationStatusDetails%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 AssignmentFilterEvaluationStatusDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/assignmentFilterEvaluationStatusDetails/{assignmentFilterEvaluationStatusDetails%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/devicemanagement/comanageddevices/item/devicecategory/DeviceCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecategory/DeviceCategoryRequestBuilder.java index f02e6f78997..592b68ee8d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecategory/DeviceCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecategory/DeviceCategoryRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceCategory", 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 DeviceCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceCategory", 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/devicemanagement/comanageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java index 3b7f2bc1278..06dbaa56380 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceCompliancePolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates", 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/devicemanagement/comanageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.java index 2e87c28ad26..79323a96853 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/{deviceCompliancePolicyState%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 DeviceCompliancePolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/{deviceCompliancePolicyState%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/devicemanagement/comanageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java index 2c873ec2123..7c7606c6df3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceConfigurationStates", 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/devicemanagement/comanageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.java index 9f578fb05db..575ff41c941 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceConfigurationStates/{deviceConfigurationState%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 DeviceConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceConfigurationStates/{deviceConfigurationState%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/devicemanagement/comanageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java index f7521bb3aeb..82240ecf98e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java @@ -132,7 +132,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceHealthScriptPolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceHealthScriptStates", 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/devicemanagement/comanageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.java index 5d1f3dfbdc3..8b2e1f4ab70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceHealthScriptStates/id='{id}',policyId='{policyId}',deviceId='{deviceId}'", 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 DeviceHealthScriptPolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/deviceHealthScriptStates/id='{id}',policyId='{policyId}',deviceId='{deviceId}'", 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/devicemanagement/comanageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java index 4a31e2dbcd4..df98cc2f736 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceLogCollectionResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/logCollectionRequests", 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/devicemanagement/comanageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java index 00bffe38013..d671be735aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.logcollectionrequests.item; import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.logcollectionrequests.item.createdownloadurl.CreateDownloadUrlRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.logcollectionrequests.item.downloaddevicelogs.DownloadDeviceLogsRequestBuilder; import com.microsoft.graph.beta.models.DeviceLogCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -29,6 +30,14 @@ public class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu public CreateDownloadUrlRequestBuilder createDownloadUrl() { return new CreateDownloadUrlRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the downloadDeviceLogs method. + * @return a {@link DownloadDeviceLogsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DownloadDeviceLogsRequestBuilder downloadDeviceLogs() { + return new DownloadDeviceLogsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link DeviceLogCollectionResponseItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request @@ -125,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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%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 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceLogCollectionResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%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/devicemanagement/comanageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsPostResponse.java new file mode 100644 index 00000000000..5107d6614ed --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsPostResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.logcollectionrequests.item.downloaddevicelogs; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DownloadDeviceLogsPostResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DownloadDeviceLogsPostResponse} and sets the default values. + */ + public DownloadDeviceLogsPostResponse() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DownloadDeviceLogsPostResponse} + */ + @jakarta.annotation.Nonnull + public static DownloadDeviceLogsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DownloadDeviceLogsPostResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("value", this.getValue()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsRequestBuilder.java new file mode 100644 index 00000000000..e6fcc4b39d8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsRequestBuilder.java @@ -0,0 +1,95 @@ +package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.logcollectionrequests.item.downloaddevicelogs; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the downloadDeviceLogs method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DownloadDeviceLogsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DownloadDeviceLogsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DownloadDeviceLogsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/downloadDeviceLogs", pathParameters); + } + /** + * Instantiates a new {@link DownloadDeviceLogsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DownloadDeviceLogsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/downloadDeviceLogs", rawUrl); + } + /** + * Invoke action downloadDeviceLogs + * @return a {@link DownloadDeviceLogsPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DownloadDeviceLogsPostResponse post() { + return post(null); + } + /** + * Invoke action downloadDeviceLogs + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DownloadDeviceLogsPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DownloadDeviceLogsPostResponse post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DownloadDeviceLogsPostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action downloadDeviceLogs + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action downloadDeviceLogs + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link DownloadDeviceLogsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DownloadDeviceLogsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DownloadDeviceLogsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java index b7efaf07180..128fa5a4215 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/managedDeviceMobileAppConfigurationStates", 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/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.java index b5426640bf5..5cd436984f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/managedDeviceMobileAppConfigurationStates/{managedDeviceMobileAppConfigurationState%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 ManagedDeviceMobileAppConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/managedDeviceMobileAppConfigurationStates/{managedDeviceMobileAppConfigurationState%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/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java index 94d92d5b398..32148402b55 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/securityBaselineStates", 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/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java index dd0b3f62f84..73f519b6532 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%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 SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%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/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java index b687719c1a4..0718275217d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%2Did}/settingStates", 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/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java index 0105b173160..354b6242495 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%2Did}/settingStates/{securityBaselineSettingState%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 SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%2Did}/settingStates/{securityBaselineSettingState%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/devicemanagement/comanageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.java index 8b3005db989..9fe0c8704c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/windowsProtectionState", 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 WindowsProtectionState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/windowsProtectionState", 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/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java index 3bc4d2c5914..68bf156d673 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDeviceMalwareState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState", 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/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.java index 31b0854b894..c5c84105d37 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.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}/deviceManagement/comanagedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%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 WindowsDeviceMalwareState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%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/devicemanagement/comanagementeligibledevices/ComanagementEligibleDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanagementeligibledevices/ComanagementEligibleDevicesRequestBuilder.java index 47e1c8e3398..167bcd9b219 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanagementeligibledevices/ComanagementEligibleDevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanagementeligibledevices/ComanagementEligibleDevicesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComanagementEligibleDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/comanagementEligibleDevices", 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/devicemanagement/comanagementeligibledevices/item/ComanagementEligibleDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanagementeligibledevices/item/ComanagementEligibleDeviceItemRequestBuilder.java index 0c802f1c2fe..6b4eae4ec29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanagementeligibledevices/item/ComanagementEligibleDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanagementeligibledevices/item/ComanagementEligibleDeviceItemRequestBuilder.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}/deviceManagement/comanagementEligibleDevices/{comanagementEligibleDevice%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 ComanagementEligibleDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/comanagementEligibleDevices/{comanagementEligibleDevice%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/devicemanagement/compliancecategories/ComplianceCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancecategories/ComplianceCategoriesRequestBuilder.java index 1abe7e6b3c2..a0c8d69e9fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancecategories/ComplianceCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancecategories/ComplianceCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/complianceCategories", 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/devicemanagement/compliancecategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancecategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.java index 5626e2db28e..a62989a25d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancecategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancecategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.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}/deviceManagement/complianceCategories/{deviceManagementConfigurationCategory%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 DeviceManagementConfigurationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/complianceCategories/{deviceManagementConfigurationCategory%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/devicemanagement/compliancemanagementpartners/ComplianceManagementPartnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancemanagementpartners/ComplianceManagementPartnersRequestBuilder.java index b9d8abe9647..ceae20163d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancemanagementpartners/ComplianceManagementPartnersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancemanagementpartners/ComplianceManagementPartnersRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ComplianceManagementPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/complianceManagementPartners", 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/devicemanagement/compliancemanagementpartners/item/ComplianceManagementPartnerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancemanagementpartners/item/ComplianceManagementPartnerItemRequestBuilder.java index 1eb7512ef35..28ed50f4770 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancemanagementpartners/item/ComplianceManagementPartnerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancemanagementpartners/item/ComplianceManagementPartnerItemRequestBuilder.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}/deviceManagement/complianceManagementPartners/{complianceManagementPartner%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 ComplianceManagementPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/complianceManagementPartners/{complianceManagementPartner%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/devicemanagement/compliancepolicies/CompliancePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/CompliancePoliciesRequestBuilder.java index f24d4f469aa..41319855439 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/CompliancePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/CompliancePoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/compliancePolicies", 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/devicemanagement/compliancepolicies/item/DeviceManagementCompliancePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/DeviceManagementCompliancePolicyItemRequestBuilder.java index 22143ebff33..97a11060d8e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/DeviceManagementCompliancePolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/DeviceManagementCompliancePolicyItemRequestBuilder.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}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}", 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 DeviceManagementCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%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/devicemanagement/compliancepolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/assignments/AssignmentsRequestBuilder.java index 91b9e613ecd..e1b221d8973 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/assignments", 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/devicemanagement/compliancepolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java index b8b90f7ff21..168b0edb41f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.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}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/assignments/{deviceManagementConfigurationPolicyAssignment%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 DeviceManagementConfigurationPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/assignments/{deviceManagementConfigurationPolicyAssignment%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/devicemanagement/compliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java index 2bbc09d3506..a985d3c7617 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementComplianceScheduledActionForRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/scheduledActionsForRule", 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/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/DeviceManagementComplianceScheduledActionForRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/DeviceManagementComplianceScheduledActionForRuleItemRequestBuilder.java index fe85c4f9730..5cf05a96f9c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/DeviceManagementComplianceScheduledActionForRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/DeviceManagementComplianceScheduledActionForRuleItemRequestBuilder.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}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/scheduledActionsForRule/{deviceManagementComplianceScheduledActionForRule%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 DeviceManagementComplianceScheduledActionForRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/scheduledActionsForRule/{deviceManagementComplianceScheduledActionForRule%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/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java index 9535c045a2e..5087a366d28 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementComplianceActionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/scheduledActionsForRule/{deviceManagementComplianceScheduledActionForRule%2Did}/scheduledActionConfigurations", 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/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceManagementComplianceActionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceManagementComplianceActionItemItemRequestBuilder.java index 234f702d524..254e4e9b9e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceManagementComplianceActionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceManagementComplianceActionItemItemRequestBuilder.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}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/scheduledActionsForRule/{deviceManagementComplianceScheduledActionForRule%2Did}/scheduledActionConfigurations/{deviceManagementComplianceActionItem%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 DeviceManagementComplianceActionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/scheduledActionsForRule/{deviceManagementComplianceScheduledActionForRule%2Did}/scheduledActionConfigurations/{deviceManagementComplianceActionItem%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/devicemanagement/compliancepolicies/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/settings/SettingsRequestBuilder.java index b40b29b3325..da5134cc835 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/settings", 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/devicemanagement/compliancepolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java index 760a18dc71d..e8fbfa0d63a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancepolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.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}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/settings/{deviceManagementConfigurationSetting%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 DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/compliancePolicies/{deviceManagementCompliancePolicy%2Did}/settings/{deviceManagementConfigurationSetting%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/devicemanagement/compliancesettings/ComplianceSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancesettings/ComplianceSettingsRequestBuilder.java index 4c373a42330..ed90c13f9ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancesettings/ComplianceSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancesettings/ComplianceSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/complianceSettings", 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/devicemanagement/compliancesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java index 20e29419dfa..da318ee3eb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/compliancesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.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}/deviceManagement/complianceSettings/{deviceManagementConfigurationSettingDefinition%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 DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/complianceSettings/{deviceManagementConfigurationSettingDefinition%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/devicemanagement/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java index 0a52d30678a..cac53c30946 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.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}/deviceManagement/conditionalAccessSettings", 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 OnPremisesConditionalAccessSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/conditionalAccessSettings", 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/devicemanagement/configmanagercollections/ConfigManagerCollectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configmanagercollections/ConfigManagerCollectionsRequestBuilder.java index b20b4cba58f..6d78f2eb5d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configmanagercollections/ConfigManagerCollectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configmanagercollections/ConfigManagerCollectionsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfigManagerCollection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configManagerCollections", 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/devicemanagement/configmanagercollections/item/ConfigManagerCollectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configmanagercollections/item/ConfigManagerCollectionItemRequestBuilder.java index 5cd99f6397c..259af7b4a3d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configmanagercollections/item/ConfigManagerCollectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configmanagercollections/item/ConfigManagerCollectionItemRequestBuilder.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}/deviceManagement/configManagerCollections/{configManagerCollection%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 ConfigManagerCollection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configManagerCollections/{configManagerCollection%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/devicemanagement/configurationcategories/ConfigurationCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationcategories/ConfigurationCategoriesRequestBuilder.java index 9885980b547..806c4d490be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationcategories/ConfigurationCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationcategories/ConfigurationCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationCategories", 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/devicemanagement/configurationcategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationcategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.java index ca70f823bcd..643064f23e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationcategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationcategories/item/DeviceManagementConfigurationCategoryItemRequestBuilder.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}/deviceManagement/configurationCategories/{deviceManagementConfigurationCategory%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 DeviceManagementConfigurationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationCategories/{deviceManagementConfigurationCategory%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/devicemanagement/configurationpolicies/ConfigurationPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/ConfigurationPoliciesRequestBuilder.java index d72f5ecc158..f88bdfcc4f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/ConfigurationPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/ConfigurationPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationPolicies", 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/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java index a0cccb76549..259c0da643d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java @@ -188,7 +188,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}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%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/devicemanagement/configurationpolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/assignments/AssignmentsRequestBuilder.java index bf906d998b7..c2d4a164cae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignments", 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/devicemanagement/configurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java index ded5d5834fb..8fdb0945e75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.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}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignments/{deviceManagementConfigurationPolicyAssignment%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 DeviceManagementConfigurationPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignments/{deviceManagementConfigurationPolicyAssignment%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/devicemanagement/configurationpolicies/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/settings/SettingsRequestBuilder.java index 3060a76ce53..aa58aa58c61 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/settings", 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/devicemanagement/configurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java index 4c128f3182d..65c079d4049 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.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}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/settings/{deviceManagementConfigurationSetting%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 DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/settings/{deviceManagementConfigurationSetting%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/devicemanagement/configurationpolicytemplates/ConfigurationPolicyTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/ConfigurationPolicyTemplatesRequestBuilder.java index bea01d033dd..0eac0db0d2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/ConfigurationPolicyTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/ConfigurationPolicyTemplatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationPolicyTemplates", 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/devicemanagement/configurationpolicytemplates/item/DeviceManagementConfigurationPolicyTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/DeviceManagementConfigurationPolicyTemplateItemRequestBuilder.java index 5626091b8c4..cf6d255565f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/DeviceManagementConfigurationPolicyTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/DeviceManagementConfigurationPolicyTemplateItemRequestBuilder.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}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%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 DeviceManagementConfigurationPolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%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/devicemanagement/configurationpolicytemplates/item/settingtemplates/SettingTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/SettingTemplatesRequestBuilder.java index b29f5eccb73..8334817d0c4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/SettingTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/SettingTemplatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSettingTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%2Did}/settingTemplates", 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/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.java index 540880eea4d..259546913e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.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}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%2Did}/settingTemplates/{deviceManagementConfigurationSettingTemplate%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 DeviceManagementConfigurationSettingTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%2Did}/settingTemplates/{deviceManagementConfigurationSettingTemplate%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/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/SettingDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/SettingDefinitionsRequestBuilder.java index c9597d7ad8d..a362f787e62 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/SettingDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/SettingDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%2Did}/settingTemplates/{deviceManagementConfigurationSettingTemplate%2Did}/settingDefinitions", 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/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java index be9853b7a62..bb3aed0b4dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicytemplates/item/settingtemplates/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.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}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%2Did}/settingTemplates/{deviceManagementConfigurationSettingTemplate%2Did}/settingDefinitions/{deviceManagementConfigurationSettingDefinition%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 DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationPolicyTemplates/{deviceManagementConfigurationPolicyTemplate%2Did}/settingTemplates/{deviceManagementConfigurationSettingTemplate%2Did}/settingDefinitions/{deviceManagementConfigurationSettingDefinition%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/devicemanagement/configurationsettings/ConfigurationSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationsettings/ConfigurationSettingsRequestBuilder.java index 0be061cb22d..e2b29ba5852 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationsettings/ConfigurationSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationsettings/ConfigurationSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/configurationSettings", 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/devicemanagement/configurationsettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationsettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java index e973926134d..09f51a07268 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationsettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationsettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.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}/deviceManagement/configurationSettings/{deviceManagementConfigurationSettingDefinition%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 DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/configurationSettings/{deviceManagementConfigurationSettingDefinition%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/devicemanagement/datasharingconsents/DataSharingConsentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/datasharingconsents/DataSharingConsentsRequestBuilder.java index 47732919db2..a8290aad96a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/datasharingconsents/DataSharingConsentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/datasharingconsents/DataSharingConsentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DataSharingConsent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/dataSharingConsents", 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/devicemanagement/datasharingconsents/item/DataSharingConsentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/datasharingconsents/item/DataSharingConsentItemRequestBuilder.java index 61610ca014f..71608ef54d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/datasharingconsents/item/DataSharingConsentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/datasharingconsents/item/DataSharingConsentItemRequestBuilder.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}/deviceManagement/dataSharingConsents/{dataSharingConsent%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 DataSharingConsent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/dataSharingConsents/{dataSharingConsent%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/devicemanagement/deponboardingsettings/DepOnboardingSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/DepOnboardingSettingsRequestBuilder.java index 65026ef9828..1e711ce6be4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/DepOnboardingSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/DepOnboardingSettingsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DepOnboardingSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/depOnboardingSettings", 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/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java index 58c0eb92b7a..2301c7741f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java @@ -206,7 +206,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}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -249,7 +249,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DepOnboardingSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%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/devicemanagement/deponboardingsettings/item/enrollmentprofiles/EnrollmentProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/enrollmentprofiles/EnrollmentProfilesRequestBuilder.java index 33afe54c7ad..7b60601b0c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/enrollmentprofiles/EnrollmentProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/enrollmentprofiles/EnrollmentProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/enrollmentProfiles", 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/devicemanagement/deponboardingsettings/item/enrollmentprofiles/item/EnrollmentProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/enrollmentprofiles/item/EnrollmentProfileItemRequestBuilder.java index a718e04e24f..123658df859 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/enrollmentprofiles/item/EnrollmentProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/enrollmentprofiles/item/EnrollmentProfileItemRequestBuilder.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}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/enrollmentProfiles/{enrollmentProfile%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 EnrollmentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/enrollmentProfiles/{enrollmentProfile%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/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/ImportedAppleDeviceIdentitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/ImportedAppleDeviceIdentitiesRequestBuilder.java index 1551b5ef909..9cb2f84d63a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/ImportedAppleDeviceIdentitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/ImportedAppleDeviceIdentitiesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ImportedAppleDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/importedAppleDeviceIdentities", 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/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/item/ImportedAppleDeviceIdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/item/ImportedAppleDeviceIdentityItemRequestBuilder.java index f53b07350a0..925bb29739e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/item/ImportedAppleDeviceIdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/importedappledeviceidentities/item/ImportedAppleDeviceIdentityItemRequestBuilder.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}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/importedAppleDeviceIdentities/{importedAppleDeviceIdentity%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 ImportedAppleDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/importedAppleDeviceIdentities/{importedAppleDeviceIdentity%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/devicemanagement/derivedcredentials/DerivedCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/derivedcredentials/DerivedCredentialsRequestBuilder.java index e97cfec5838..9b289647857 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/derivedcredentials/DerivedCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/derivedcredentials/DerivedCredentialsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementDerivedCredentialSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/derivedCredentials", 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/devicemanagement/derivedcredentials/item/DeviceManagementDerivedCredentialSettingsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/derivedcredentials/item/DeviceManagementDerivedCredentialSettingsItemRequestBuilder.java index eafc4e2ad24..2cf16545f4c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/derivedcredentials/item/DeviceManagementDerivedCredentialSettingsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/derivedcredentials/item/DeviceManagementDerivedCredentialSettingsItemRequestBuilder.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}/deviceManagement/derivedCredentials/{deviceManagementDerivedCredentialSettings%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 DeviceManagementDerivedCredentialSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/derivedCredentials/{deviceManagementDerivedCredentialSettings%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/devicemanagement/detectedapps/DetectedAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/detectedapps/DetectedAppsRequestBuilder.java index 18d0450eea8..5021b461c3d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/detectedapps/DetectedAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/detectedapps/DetectedAppsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DetectedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/detectedApps", 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/devicemanagement/detectedapps/item/DetectedAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/detectedapps/item/DetectedAppItemRequestBuilder.java index 31f8203201a..3d9b82c633e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/detectedapps/item/DetectedAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/detectedapps/item/DetectedAppItemRequestBuilder.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}/deviceManagement/detectedApps/{detectedApp%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 DetectedApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/detectedApps/{detectedApp%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/devicemanagement/devicecategories/DeviceCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecategories/DeviceCategoriesRequestBuilder.java index 79f0d178bde..4343e0c8748 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecategories/DeviceCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecategories/DeviceCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCategories", 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/devicemanagement/devicecategories/item/DeviceCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecategories/item/DeviceCategoryItemRequestBuilder.java index 0b80253d8aa..c23493ceda8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecategories/item/DeviceCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecategories/item/DeviceCategoryItemRequestBuilder.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}/deviceManagement/deviceCategories/{deviceCategory%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 DeviceCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCategories/{deviceCategory%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/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java index 6813553db8b..65bf17efdeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java @@ -198,7 +198,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicies", 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/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java index ad2f2ba2195..07566a4c883 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java @@ -197,7 +197,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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -240,7 +240,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%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/devicemanagement/devicecompliancepolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/assignments/AssignmentsRequestBuilder.java index ae24937143a..24aca6e6107 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceCompliancePolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/assignments", 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/devicemanagement/devicecompliancepolicies/item/assignments/item/DeviceCompliancePolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/assignments/item/DeviceCompliancePolicyAssignmentItemRequestBuilder.java index e61f695251a..f2ab936da49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/assignments/item/DeviceCompliancePolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/assignments/item/DeviceCompliancePolicyAssignmentItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/assignments/{deviceCompliancePolicyAssignment%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 DeviceCompliancePolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/assignments/{deviceCompliancePolicyAssignment%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/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java index a3e1ae8aafc..558d88d5132 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SettingStateDeviceSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceSettingStateSummaries", 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/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.java index ce585de1e9e..8d18b9a1475 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceSettingStateSummaries/{settingStateDeviceSummary%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 SettingStateDeviceSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceSettingStateSummaries/{settingStateDeviceSummary%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/devicemanagement/devicecompliancepolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java index 1effa8a5aa8..253c0b20dcb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatuses/DeviceStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceComplianceDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceStatuses", 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/devicemanagement/devicecompliancepolicies/item/devicestatuses/item/DeviceComplianceDeviceStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatuses/item/DeviceComplianceDeviceStatusItemRequestBuilder.java index 07f34c53878..90a9d35382b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatuses/item/DeviceComplianceDeviceStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatuses/item/DeviceComplianceDeviceStatusItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceStatuses/{deviceComplianceDeviceStatus%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 DeviceComplianceDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceStatuses/{deviceComplianceDeviceStatus%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/devicemanagement/devicecompliancepolicies/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.java index a5a67ef492b..31847ea68d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceStatusOverview", 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 DeviceComplianceDeviceOverview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/deviceStatusOverview", 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/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java index a7af6e8017f..7adff25300c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceComplianceScheduledActionForRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule", 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/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java index bf272e90487..9623fa78d19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule/{deviceComplianceScheduledActionForRule%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 DeviceComplianceScheduledActionForRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule/{deviceComplianceScheduledActionForRule%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/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java index 6c0e5c3a39d..6936c9ee30b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/ScheduledActionConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceComplianceActionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule/{deviceComplianceScheduledActionForRule%2Did}/scheduledActionConfigurations", 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/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceComplianceActionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceComplianceActionItemItemRequestBuilder.java index 566141e2e2e..2764d63db0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceComplianceActionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/scheduledactionconfigurations/item/DeviceComplianceActionItemItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule/{deviceComplianceScheduledActionForRule%2Did}/scheduledActionConfigurations/{deviceComplianceActionItem%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 DeviceComplianceActionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule/{deviceComplianceScheduledActionForRule%2Did}/scheduledActionConfigurations/{deviceComplianceActionItem%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/devicemanagement/devicecompliancepolicies/item/userstatuses/UserStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatuses/UserStatusesRequestBuilder.java index 6e8eb996e36..bb2972e2a1e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatuses/UserStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatuses/UserStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceComplianceUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/userStatuses", 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/devicemanagement/devicecompliancepolicies/item/userstatuses/item/DeviceComplianceUserStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatuses/item/DeviceComplianceUserStatusItemRequestBuilder.java index 1942c272053..9c64026750d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatuses/item/DeviceComplianceUserStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatuses/item/DeviceComplianceUserStatusItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/userStatuses/{deviceComplianceUserStatus%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 DeviceComplianceUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/userStatuses/{deviceComplianceUserStatus%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/devicemanagement/devicecompliancepolicies/item/userstatusoverview/UserStatusOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatusoverview/UserStatusOverviewRequestBuilder.java index 2f7a8b2a6d9..aee3f89dda7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatusoverview/UserStatusOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/userstatusoverview/UserStatusOverviewRequestBuilder.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}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/userStatusOverview", 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 DeviceComplianceUserOverview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/userStatusOverview", 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/devicemanagement/devicecompliancepolicydevicestatesummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicydevicestatesummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java index f3198f56eff..2ab512e7424 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicydevicestatesummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicydevicestatesummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.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}/deviceManagement/deviceCompliancePolicyDeviceStateSummary", 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 DeviceCompliancePolicyDeviceStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicyDeviceStateSummary", 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/devicemanagement/devicecompliancepolicysettingstatesummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.java index d1b92a9f046..3a73fbb53a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceCompliancePolicySettingStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicySettingStateSummaries", 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/devicemanagement/devicecompliancepolicysettingstatesummaries/item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.java index fc6c41814cb..2d43ff04736 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicySettingStateSummaries/{deviceCompliancePolicySettingStateSummary%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 DeviceCompliancePolicySettingStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicySettingStateSummaries/{deviceCompliancePolicySettingStateSummary%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/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/DeviceComplianceSettingStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/DeviceComplianceSettingStatesRequestBuilder.java index 469105541d2..b3aa8b61291 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/DeviceComplianceSettingStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/DeviceComplianceSettingStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceComplianceSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCompliancePolicySettingStateSummaries/{deviceCompliancePolicySettingStateSummary%2Did}/deviceComplianceSettingStates", 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/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/item/DeviceComplianceSettingStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/item/DeviceComplianceSettingStateItemRequestBuilder.java index ef1ca615b38..84a3866635c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/item/DeviceComplianceSettingStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicysettingstatesummaries/item/devicecompliancesettingstates/item/DeviceComplianceSettingStateItemRequestBuilder.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}/deviceManagement/deviceCompliancePolicySettingStateSummaries/{deviceCompliancePolicySettingStateSummary%2Did}/deviceComplianceSettingStates/{deviceComplianceSettingState%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 DeviceComplianceSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCompliancePolicySettingStateSummaries/{deviceCompliancePolicySettingStateSummary%2Did}/deviceComplianceSettingStates/{deviceComplianceSettingState%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/devicemanagement/devicecompliancescripts/DeviceComplianceScriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/DeviceComplianceScriptsRequestBuilder.java index b98056d55c6..2590fae0cd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/DeviceComplianceScriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/DeviceComplianceScriptsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceComplianceScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceComplianceScripts", 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/devicemanagement/devicecompliancescripts/item/DeviceComplianceScriptItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/DeviceComplianceScriptItemRequestBuilder.java index e2df84dbcb1..99549079c73 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/DeviceComplianceScriptItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/DeviceComplianceScriptItemRequestBuilder.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}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%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 DeviceComplianceScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%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/devicemanagement/devicecompliancescripts/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/assignments/AssignmentsRequestBuilder.java index 8fd61b56533..dff7565a2b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceHealthScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/assignments", 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/devicemanagement/devicecompliancescripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.java index 7066ea9612b..3201670a356 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.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}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/assignments/{deviceHealthScriptAssignment%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 DeviceHealthScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/assignments/{deviceHealthScriptAssignment%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/devicemanagement/devicecompliancescripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java index 6732cdcff8b..837297d98f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceComplianceScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/deviceRunStates", 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/devicemanagement/devicecompliancescripts/item/devicerunstates/item/DeviceComplianceScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/devicerunstates/item/DeviceComplianceScriptDeviceStateItemRequestBuilder.java index 96ef27e779c..ffe33cc580b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/devicerunstates/item/DeviceComplianceScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/devicerunstates/item/DeviceComplianceScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/deviceRunStates/{deviceComplianceScriptDeviceState%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 DeviceComplianceScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/deviceRunStates/{deviceComplianceScriptDeviceState%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/devicemanagement/devicecompliancescripts/item/runsummary/RunSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/runsummary/RunSummaryRequestBuilder.java index b6284b84490..600b1ec0a04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/runsummary/RunSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancescripts/item/runsummary/RunSummaryRequestBuilder.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}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/runSummary", 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 DeviceComplianceScriptRunSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceComplianceScripts/{deviceComplianceScript%2Did}/runSummary", 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/devicemanagement/deviceconfigurationconflictsummary/DeviceConfigurationConflictSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationconflictsummary/DeviceConfigurationConflictSummaryRequestBuilder.java index f2f0af7e70a..b4ebabdd273 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationconflictsummary/DeviceConfigurationConflictSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationconflictsummary/DeviceConfigurationConflictSummaryRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationConflictSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurationConflictSummary", 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/devicemanagement/deviceconfigurationconflictsummary/item/DeviceConfigurationConflictSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationconflictsummary/item/DeviceConfigurationConflictSummaryItemRequestBuilder.java index 6dd033f2513..8f99074988b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationconflictsummary/item/DeviceConfigurationConflictSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationconflictsummary/item/DeviceConfigurationConflictSummaryItemRequestBuilder.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}/deviceManagement/deviceConfigurationConflictSummary/{deviceConfigurationConflictSummary%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 DeviceConfigurationConflictSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurationConflictSummary/{deviceConfigurationConflictSummary%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/devicemanagement/deviceconfigurationdevicestatesummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationdevicestatesummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.java index c69607f67b1..4c610f26cd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationdevicestatesummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationdevicestatesummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.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}/deviceManagement/deviceConfigurationDeviceStateSummaries", 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 DeviceConfigurationDeviceStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurationDeviceStateSummaries", 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/devicemanagement/deviceconfigurationprofiles/DeviceConfigurationProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/DeviceConfigurationProfilesRequestBuilder.java new file mode 100644 index 00000000000..8faad16b88a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/DeviceConfigurationProfilesRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.devicemanagement.deviceconfigurationprofiles; + +import com.microsoft.graph.beta.devicemanagement.deviceconfigurationprofiles.count.CountRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.deviceconfigurationprofiles.item.DeviceConfigurationProfileItemRequestBuilder; +import com.microsoft.graph.beta.models.DeviceConfigurationProfile; +import com.microsoft.graph.beta.models.DeviceConfigurationProfileCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the deviceConfigurationProfiles property of the microsoft.graph.deviceManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeviceConfigurationProfilesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the deviceConfigurationProfiles property of the microsoft.graph.deviceManagement entity. + * @param deviceConfigurationProfileId The unique identifier of deviceConfigurationProfile + * @return a {@link DeviceConfigurationProfileItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeviceConfigurationProfileItemRequestBuilder byDeviceConfigurationProfileId(@jakarta.annotation.Nonnull final String deviceConfigurationProfileId) { + Objects.requireNonNull(deviceConfigurationProfileId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("deviceConfigurationProfile%2Did", deviceConfigurationProfileId); + return new DeviceConfigurationProfileItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link DeviceConfigurationProfilesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeviceConfigurationProfilesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurationProfiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link DeviceConfigurationProfilesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeviceConfigurationProfilesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurationProfiles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Profile Id of the object. + * @return a {@link DeviceConfigurationProfileCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfileCollectionResponse get() { + return get(null); + } + /** + * Profile Id of the object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DeviceConfigurationProfileCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfileCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfigurationProfileCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to deviceConfigurationProfiles for deviceManagement + * @param body The request body + * @return a {@link DeviceConfigurationProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfile post(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body) { + return post(body, null); + } + /** + * Create new navigation property to deviceConfigurationProfiles for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DeviceConfigurationProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfile post(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfigurationProfile::createFromDiscriminatorValue); + } + /** + * Profile Id of the object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Profile Id of the object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to deviceConfigurationProfiles for deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to deviceConfigurationProfiles for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link DeviceConfigurationProfilesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeviceConfigurationProfilesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeviceConfigurationProfilesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Profile Id of the object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/count/CountRequestBuilder.java new file mode 100644 index 00000000000..7ca6f498e67 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.devicemanagement.deviceconfigurationprofiles.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurationProfiles/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurationProfiles/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/item/DeviceConfigurationProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/item/DeviceConfigurationProfileItemRequestBuilder.java new file mode 100644 index 00000000000..dc4c535bbed --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationprofiles/item/DeviceConfigurationProfileItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.devicemanagement.deviceconfigurationprofiles.item; + +import com.microsoft.graph.beta.models.DeviceConfigurationProfile; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the deviceConfigurationProfiles property of the microsoft.graph.deviceManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeviceConfigurationProfileItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DeviceConfigurationProfileItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeviceConfigurationProfileItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurationProfiles/{deviceConfigurationProfile%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link DeviceConfigurationProfileItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeviceConfigurationProfileItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurationProfiles/{deviceConfigurationProfile%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property deviceConfigurationProfiles for deviceManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property deviceConfigurationProfiles for deviceManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Profile Id of the object. + * @return a {@link DeviceConfigurationProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfile get() { + return get(null); + } + /** + * Profile Id of the object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DeviceConfigurationProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfile get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfigurationProfile::createFromDiscriminatorValue); + } + /** + * Update the navigation property deviceConfigurationProfiles in deviceManagement + * @param body The request body + * @return a {@link DeviceConfigurationProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfile patch(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body) { + return patch(body, null); + } + /** + * Update the navigation property deviceConfigurationProfiles in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DeviceConfigurationProfile} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DeviceConfigurationProfile patch(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfigurationProfile::createFromDiscriminatorValue); + } + /** + * Delete navigation property deviceConfigurationProfiles for deviceManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property deviceConfigurationProfiles for deviceManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Profile Id of the object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Profile Id of the object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property deviceConfigurationProfiles in deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property deviceConfigurationProfiles in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link DeviceConfigurationProfileItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeviceConfigurationProfileItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeviceConfigurationProfileItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Profile Id of the object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationrestrictedappsviolations/DeviceConfigurationRestrictedAppsViolationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationrestrictedappsviolations/DeviceConfigurationRestrictedAppsViolationsRequestBuilder.java index aacba063681..8eacf496418 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationrestrictedappsviolations/DeviceConfigurationRestrictedAppsViolationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationrestrictedappsviolations/DeviceConfigurationRestrictedAppsViolationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestrictedAppsViolation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurationRestrictedAppsViolations", 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/devicemanagement/deviceconfigurationrestrictedappsviolations/item/RestrictedAppsViolationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationrestrictedappsviolations/item/RestrictedAppsViolationItemRequestBuilder.java index c200e52d521..8b8b8a405ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationrestrictedappsviolations/item/RestrictedAppsViolationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationrestrictedappsviolations/item/RestrictedAppsViolationItemRequestBuilder.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}/deviceManagement/deviceConfigurationRestrictedAppsViolations/{restrictedAppsViolation%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 RestrictedAppsViolation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurationRestrictedAppsViolations/{restrictedAppsViolation%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/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java index 4268150278f..68cf393849e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java @@ -171,7 +171,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurations", 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/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java index 76ff8855521..87cc85d4527 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java @@ -217,7 +217,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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -260,7 +260,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%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/devicemanagement/deviceconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/assignments/AssignmentsRequestBuilder.java index b918ed75eb7..3b442b8f5c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/assignments", 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/devicemanagement/deviceconfigurations/item/assignments/item/DeviceConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/assignments/item/DeviceConfigurationAssignmentItemRequestBuilder.java index 1e0afeba774..1e9150459a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/assignments/item/DeviceConfigurationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/assignments/item/DeviceConfigurationAssignmentItemRequestBuilder.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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/assignments/{deviceConfigurationAssignment%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 DeviceConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/assignments/{deviceConfigurationAssignment%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/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java index 0f3a9a5c02d..720159c5094 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SettingStateDeviceSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceSettingStateSummaries", 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/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.java index 0a833672c07..a3daadeaa50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicesettingstatesummaries/item/SettingStateDeviceSummaryItemRequestBuilder.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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceSettingStateSummaries/{settingStateDeviceSummary%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 SettingStateDeviceSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceSettingStateSummaries/{settingStateDeviceSummary%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/devicemanagement/deviceconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java index 04817b2873c..b47a2c16481 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatuses/DeviceStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceStatuses", 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/devicemanagement/deviceconfigurations/item/devicestatuses/item/DeviceConfigurationDeviceStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatuses/item/DeviceConfigurationDeviceStatusItemRequestBuilder.java index be73581f2ae..b5e8b76b76c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatuses/item/DeviceConfigurationDeviceStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatuses/item/DeviceConfigurationDeviceStatusItemRequestBuilder.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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceStatuses/{deviceConfigurationDeviceStatus%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 DeviceConfigurationDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceStatuses/{deviceConfigurationDeviceStatus%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/devicemanagement/deviceconfigurations/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.java index c3b137f7239..b3b30b50d8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/devicestatusoverview/DeviceStatusOverviewRequestBuilder.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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceStatusOverview", 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 DeviceConfigurationDeviceOverview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/deviceStatusOverview", 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/devicemanagement/deviceconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java index 28c76408843..c836aa8aa91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/groupassignments/GroupAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/groupAssignments", 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/devicemanagement/deviceconfigurations/item/groupassignments/item/DeviceConfigurationGroupAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/groupassignments/item/DeviceConfigurationGroupAssignmentItemRequestBuilder.java index b530b1f65bb..fd7029838db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/groupassignments/item/DeviceConfigurationGroupAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/groupassignments/item/DeviceConfigurationGroupAssignmentItemRequestBuilder.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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/groupAssignments/{deviceConfigurationGroupAssignment%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 DeviceConfigurationGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/groupAssignments/{deviceConfigurationGroupAssignment%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/devicemanagement/deviceconfigurations/item/userstatuses/UserStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatuses/UserStatusesRequestBuilder.java index 2bc3f3f29b0..3fc82cb1577 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatuses/UserStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatuses/UserStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/userStatuses", 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/devicemanagement/deviceconfigurations/item/userstatuses/item/DeviceConfigurationUserStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatuses/item/DeviceConfigurationUserStatusItemRequestBuilder.java index c031e956f93..e42a825aa68 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatuses/item/DeviceConfigurationUserStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatuses/item/DeviceConfigurationUserStatusItemRequestBuilder.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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/userStatuses/{deviceConfigurationUserStatus%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 DeviceConfigurationUserStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/userStatuses/{deviceConfigurationUserStatus%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/devicemanagement/deviceconfigurations/item/userstatusoverview/UserStatusOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatusoverview/UserStatusOverviewRequestBuilder.java index be5900c4900..8271488ad69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatusoverview/UserStatusOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurations/item/userstatusoverview/UserStatusOverviewRequestBuilder.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}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/userStatusOverview", 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 DeviceConfigurationUserOverview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}/userStatusOverview", 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/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder.java index ad9ad9e338c..28d0fb2b11a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/DeviceConfigurationsAllManagedDeviceCertificateStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedAllDeviceCertificateState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceConfigurationsAllManagedDeviceCertificateStates", 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/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/item/ManagedAllDeviceCertificateStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/item/ManagedAllDeviceCertificateStateItemRequestBuilder.java index 0814aef0395..e140e316960 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/item/ManagedAllDeviceCertificateStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationsallmanageddevicecertificatestates/item/ManagedAllDeviceCertificateStateItemRequestBuilder.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}/deviceManagement/deviceConfigurationsAllManagedDeviceCertificateStates/{managedAllDeviceCertificateState%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 ManagedAllDeviceCertificateState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurationsAllManagedDeviceCertificateStates/{managedAllDeviceCertificateState%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/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.java index ad399956c0d..4f7da4c8aff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceconfigurationuserstatesummaries/DeviceConfigurationUserStateSummariesRequestBuilder.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}/deviceManagement/deviceConfigurationUserStateSummaries", 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 DeviceConfigurationUserStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceConfigurationUserStateSummaries", 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/devicemanagement/devicecustomattributeshellscripts/DeviceCustomAttributeShellScriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/DeviceCustomAttributeShellScriptsRequestBuilder.java index 3f50e51e579..8030767dc11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/DeviceCustomAttributeShellScriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/DeviceCustomAttributeShellScriptsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceCustomAttributeShellScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts", 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/devicemanagement/devicecustomattributeshellscripts/item/DeviceCustomAttributeShellScriptItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/DeviceCustomAttributeShellScriptItemRequestBuilder.java index 9b901ae8d6a..185af58e438 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/DeviceCustomAttributeShellScriptItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/DeviceCustomAttributeShellScriptItemRequestBuilder.java @@ -170,7 +170,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}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceCustomAttributeShellScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%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/devicemanagement/devicecustomattributeshellscripts/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/assignments/AssignmentsRequestBuilder.java index 3b4c04f0cbc..39b10f60bba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/assignments", 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/devicemanagement/devicecustomattributeshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java index 74717e59081..94799c2de3a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.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}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/assignments/{deviceManagementScriptAssignment%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 DeviceManagementScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/assignments/{deviceManagementScriptAssignment%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/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java index f9b71120ef9..de78cb4261b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/deviceRunStates", 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/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java index 94aa45d3dd5..61dc6f35bbf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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 DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java index 76f78c4fdc8..5009be20ebc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/groupAssignments", 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/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java index 535d772b897..80e3ad7bfbb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.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}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/groupAssignments/{deviceManagementScriptGroupAssignment%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 DeviceManagementScriptGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/groupAssignments/{deviceManagementScriptGroupAssignment%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/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java index 0e3c1b1200b..d711b3f9f2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/userRunStates", 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/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java index d74b8c6bdba..b2ce40f7e17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.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}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%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 DeviceManagementScriptUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%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/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java index e5b707448cd..1865cfe271c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates", 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/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java index cbb90173053..258b77f8b96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecustomattributeshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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 DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceCustomAttributeShellScripts/{deviceCustomAttributeShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java index 39d1b85845e..6fb192ed63c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java @@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceEnrollmentConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations", 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/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java index ece25fb1a28..082f5b43ca2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.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}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%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 DeviceEnrollmentConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%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/devicemanagement/deviceenrollmentconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/assignments/AssignmentsRequestBuilder.java index af01a87be53..6b018359246 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EnrollmentConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}/assignments", 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/devicemanagement/deviceenrollmentconfigurations/item/assignments/item/EnrollmentConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/assignments/item/EnrollmentConfigurationAssignmentItemRequestBuilder.java index bf9b635a75c..9ce3585e9ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/assignments/item/EnrollmentConfigurationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceenrollmentconfigurations/item/assignments/item/EnrollmentConfigurationAssignmentItemRequestBuilder.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}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}/assignments/{enrollmentConfigurationAssignment%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 EnrollmentConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}/assignments/{enrollmentConfigurationAssignment%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/devicemanagement/devicehealthscripts/DeviceHealthScriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/DeviceHealthScriptsRequestBuilder.java index 86ab61a7005..3386277c5fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/DeviceHealthScriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/DeviceHealthScriptsRequestBuilder.java @@ -171,7 +171,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceHealthScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceHealthScripts", 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/devicemanagement/devicehealthscripts/item/DeviceHealthScriptItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/DeviceHealthScriptItemRequestBuilder.java index 0cd80a54c92..63e2d02778e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/DeviceHealthScriptItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/DeviceHealthScriptItemRequestBuilder.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}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}", 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 DeviceHealthScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceHealthScripts/{deviceHealthScript%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/devicemanagement/devicehealthscripts/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/assignments/AssignmentsRequestBuilder.java index a1b7b57e850..c53a5806e44 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceHealthScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/assignments", 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/devicemanagement/devicehealthscripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.java index 5943ae81f8b..4af266ab903 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/assignments/item/DeviceHealthScriptAssignmentItemRequestBuilder.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}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/assignments/{deviceHealthScriptAssignment%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 DeviceHealthScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/assignments/{deviceHealthScriptAssignment%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/devicemanagement/devicehealthscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java index a9c491f99bd..2e8d3a70c2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceHealthScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/deviceRunStates", 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/devicemanagement/devicehealthscripts/item/devicerunstates/item/DeviceHealthScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/devicerunstates/item/DeviceHealthScriptDeviceStateItemRequestBuilder.java index 391b7c47288..394aa74823b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/devicerunstates/item/DeviceHealthScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/devicerunstates/item/DeviceHealthScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/deviceRunStates/{deviceHealthScriptDeviceState%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 DeviceHealthScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/deviceRunStates/{deviceHealthScriptDeviceState%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/devicemanagement/devicehealthscripts/item/runsummary/RunSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/runsummary/RunSummaryRequestBuilder.java index 97df0fcebc5..ef8185f75da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/runsummary/RunSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicehealthscripts/item/runsummary/RunSummaryRequestBuilder.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}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/runSummary", 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 DeviceHealthScriptRunSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceHealthScripts/{deviceHealthScript%2Did}/runSummary", 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/devicemanagement/devicemanagementpartners/DeviceManagementPartnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementpartners/DeviceManagementPartnersRequestBuilder.java index 29ccba6dc7c..4d794caadc0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementpartners/DeviceManagementPartnersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementpartners/DeviceManagementPartnersRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceManagementPartners", 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/devicemanagement/devicemanagementpartners/item/DeviceManagementPartnerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementpartners/item/DeviceManagementPartnerItemRequestBuilder.java index 27bcf1cdbd5..a98ce70341c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementpartners/item/DeviceManagementPartnerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementpartners/item/DeviceManagementPartnerItemRequestBuilder.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}/deviceManagement/deviceManagementPartners/{deviceManagementPartner%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 DeviceManagementPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceManagementPartners/{deviceManagementPartner%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/devicemanagement/devicemanagementscripts/DeviceManagementScriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/DeviceManagementScriptsRequestBuilder.java index 7dfd53d4118..8ec65e13556 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/DeviceManagementScriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/DeviceManagementScriptsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceManagementScripts", 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/devicemanagement/devicemanagementscripts/item/DeviceManagementScriptItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/DeviceManagementScriptItemRequestBuilder.java index cde39d91120..4c61366b7a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/DeviceManagementScriptItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/DeviceManagementScriptItemRequestBuilder.java @@ -170,7 +170,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}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%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/devicemanagement/devicemanagementscripts/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/assignments/AssignmentsRequestBuilder.java index 6dd58f37f58..97d4ef60d6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/assignments", 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/devicemanagement/devicemanagementscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java index 55d1aedee0a..39b0918b766 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.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}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/assignments/{deviceManagementScriptAssignment%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 DeviceManagementScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/assignments/{deviceManagementScriptAssignment%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/devicemanagement/devicemanagementscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java index 84da62415ed..9bb733c615a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/deviceRunStates", 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/devicemanagement/devicemanagementscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java index 0ce636b341c..ae991952f5d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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 DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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/devicemanagement/devicemanagementscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java index fb91d014f57..221efa2aa1a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/groupAssignments", 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/devicemanagement/devicemanagementscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java index 063df118807..7c8ef2ad5c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.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}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/groupAssignments/{deviceManagementScriptGroupAssignment%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 DeviceManagementScriptGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/groupAssignments/{deviceManagementScriptGroupAssignment%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/devicemanagement/devicemanagementscripts/item/userrunstates/UserRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/UserRunStatesRequestBuilder.java index 6685d91e6fe..cde3b8eb1b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/UserRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/UserRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/userRunStates", 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/devicemanagement/devicemanagementscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java index d1415153b67..0e6b7984bbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.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}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/userRunStates/{deviceManagementScriptUserState%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 DeviceManagementScriptUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/userRunStates/{deviceManagementScriptUserState%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/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java index a74f60886f1..dca4cb5de91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates", 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/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java index 623e463861b..8394e5a6874 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicemanagementscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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 DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceManagementScripts/{deviceManagementScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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/devicemanagement/deviceshellscripts/DeviceShellScriptsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/DeviceShellScriptsRequestBuilder.java index e40f0c63665..42b964fd0b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/DeviceShellScriptsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/DeviceShellScriptsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceShellScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceShellScripts", 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/devicemanagement/deviceshellscripts/item/DeviceShellScriptItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/DeviceShellScriptItemRequestBuilder.java index db60380e612..34f66265d6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/DeviceShellScriptItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/DeviceShellScriptItemRequestBuilder.java @@ -170,7 +170,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}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceShellScript body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%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/devicemanagement/deviceshellscripts/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/assignments/AssignmentsRequestBuilder.java index 9d51bed9ec0..33a82a50127 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/assignments", 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/devicemanagement/deviceshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java index 41bc34a6bab..98e4dd0f3d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/assignments/item/DeviceManagementScriptAssignmentItemRequestBuilder.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}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/assignments/{deviceManagementScriptAssignment%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 DeviceManagementScriptAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/assignments/{deviceManagementScriptAssignment%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/devicemanagement/deviceshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java index 6a84c04de36..0ce81506ac4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/deviceRunStates", 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/devicemanagement/deviceshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java index 18937b44637..cf6b00cb016 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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 DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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/devicemanagement/deviceshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java index e31abbc59fe..4088bb8ab80 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/groupassignments/GroupAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/groupAssignments", 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/devicemanagement/deviceshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java index d10c555836b..f360d755746 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/groupassignments/item/DeviceManagementScriptGroupAssignmentItemRequestBuilder.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}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/groupAssignments/{deviceManagementScriptGroupAssignment%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 DeviceManagementScriptGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/groupAssignments/{deviceManagementScriptGroupAssignment%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/devicemanagement/deviceshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java index 31d7fa8a440..044241170b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/UserRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/userRunStates", 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/devicemanagement/deviceshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java index a71fce7ae2e..cf693d66ce3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/DeviceManagementScriptUserStateItemRequestBuilder.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}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%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 DeviceManagementScriptUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%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/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java index 581688a990c..cdafea4556b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates", 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/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java index 7104adbd308..902d23b980f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deviceshellscripts/item/userrunstates/item/devicerunstates/item/DeviceManagementScriptDeviceStateItemRequestBuilder.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}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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 DeviceManagementScriptDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/deviceShellScripts/{deviceShellScript%2Did}/userRunStates/{deviceManagementScriptUserState%2Did}/deviceRunStates/{deviceManagementScriptDeviceState%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/devicemanagement/domainjoinconnectors/DomainJoinConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/domainjoinconnectors/DomainJoinConnectorsRequestBuilder.java index 6958ac56ac1..38568f98189 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/domainjoinconnectors/DomainJoinConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/domainjoinconnectors/DomainJoinConnectorsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementDomainJoinConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/domainJoinConnectors", 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/devicemanagement/domainjoinconnectors/item/DeviceManagementDomainJoinConnectorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/domainjoinconnectors/item/DeviceManagementDomainJoinConnectorItemRequestBuilder.java index c7c4746eb79..1b39f5d811f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/domainjoinconnectors/item/DeviceManagementDomainJoinConnectorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/domainjoinconnectors/item/DeviceManagementDomainJoinConnectorItemRequestBuilder.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}/deviceManagement/domainJoinConnectors/{deviceManagementDomainJoinConnector%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 DeviceManagementDomainJoinConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/domainJoinConnectors/{deviceManagementDomainJoinConnector%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/devicemanagement/elevationrequests/ElevationRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/ElevationRequestsRequestBuilder.java index df928ac21bd..3540c767677 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/ElevationRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/ElevationRequestsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegeManagementElevationRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/elevationRequests", 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/devicemanagement/elevationrequests/item/PrivilegeManagementElevationRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/PrivilegeManagementElevationRequestItemRequestBuilder.java index 7b899f8efe2..0ab6674f6ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/PrivilegeManagementElevationRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/PrivilegeManagementElevationRequestItemRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.devicemanagement.elevationrequests.item.approve.ApproveRequestBuilder; import com.microsoft.graph.beta.devicemanagement.elevationrequests.item.deny.DenyRequestBuilder; import com.microsoft.graph.beta.devicemanagement.elevationrequests.item.getallelevationrequests.GetAllElevationRequestsRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.elevationrequests.item.revoke.RevokeRequestBuilder; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.models.PrivilegeManagementElevationRequest; import com.microsoft.kiota.BaseRequestBuilder; @@ -47,6 +48,14 @@ public DenyRequestBuilder deny() { public GetAllElevationRequestsRequestBuilder getAllElevationRequests() { return new GetAllElevationRequestsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the revoke method. + * @return a {@link RevokeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RevokeRequestBuilder revoke() { + return new RevokeRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link PrivilegeManagementElevationRequestItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request @@ -143,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}/deviceManagement/elevationRequests/{privilegeManagementElevationRequest%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 +195,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegeManagementElevationRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/elevationRequests/{privilegeManagementElevationRequest%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/devicemanagement/elevationrequests/item/revoke/RevokePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/revoke/RevokePostRequestBody.java new file mode 100644 index 00000000000..126e428c647 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/revoke/RevokePostRequestBody.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.devicemanagement.elevationrequests.item.revoke; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RevokePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link RevokePostRequestBody} and sets the default values. + */ + public RevokePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RevokePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static RevokePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RevokePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("reviewerJustification", (n) -> { this.setReviewerJustification(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the reviewerJustification property value. The reviewerJustification property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getReviewerJustification() { + return this.backingStore.get("reviewerJustification"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("reviewerJustification", this.getReviewerJustification()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the reviewerJustification property value. The reviewerJustification property + * @param value Value to set for the reviewerJustification property. + */ + public void setReviewerJustification(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("reviewerJustification", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/revoke/RevokeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/revoke/RevokeRequestBuilder.java new file mode 100644 index 00000000000..e5bc27c38ec --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/elevationrequests/item/revoke/RevokeRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.devicemanagement.elevationrequests.item.revoke; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.PrivilegeManagementElevationRequest; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the revoke method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RevokeRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RevokeRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RevokeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/elevationRequests/{privilegeManagementElevationRequest%2Did}/revoke", pathParameters); + } + /** + * Instantiates a new {@link RevokeRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RevokeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/elevationRequests/{privilegeManagementElevationRequest%2Did}/revoke", rawUrl); + } + /** + * Invoke action revoke + * @param body The request body + * @return a {@link PrivilegeManagementElevationRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public PrivilegeManagementElevationRequest post(@jakarta.annotation.Nonnull final RevokePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action revoke + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link PrivilegeManagementElevationRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public PrivilegeManagementElevationRequest post(@jakarta.annotation.Nonnull final RevokePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, PrivilegeManagementElevationRequest::createFromDiscriminatorValue); + } + /** + * Invoke action revoke + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RevokePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action revoke + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RevokePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RevokeRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RevokeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RevokeRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/EmbeddedSIMActivationCodePoolsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/EmbeddedSIMActivationCodePoolsRequestBuilder.java index 7a2ac39f65d..a0578a34d6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/EmbeddedSIMActivationCodePoolsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/EmbeddedSIMActivationCodePoolsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EmbeddedSIMActivationCodePool body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/embeddedSIMActivationCodePools", 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/devicemanagement/embeddedsimactivationcodepools/item/EmbeddedSIMActivationCodePoolItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/EmbeddedSIMActivationCodePoolItemRequestBuilder.java index aa7a00991e9..a653b62bb86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/EmbeddedSIMActivationCodePoolItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/EmbeddedSIMActivationCodePoolItemRequestBuilder.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}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%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 EmbeddedSIMActivationCodePool body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%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/devicemanagement/embeddedsimactivationcodepools/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/assignments/AssignmentsRequestBuilder.java index e97f8b96614..8a719bbb453 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EmbeddedSIMActivationCodePoolAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%2Did}/assignments", 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/devicemanagement/embeddedsimactivationcodepools/item/assignments/item/EmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/assignments/item/EmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder.java index c7283dfee67..d939eeeda76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/assignments/item/EmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/assignments/item/EmbeddedSIMActivationCodePoolAssignmentItemRequestBuilder.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}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%2Did}/assignments/{embeddedSIMActivationCodePoolAssignment%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 EmbeddedSIMActivationCodePoolAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%2Did}/assignments/{embeddedSIMActivationCodePoolAssignment%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/devicemanagement/embeddedsimactivationcodepools/item/devicestates/DeviceStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/devicestates/DeviceStatesRequestBuilder.java index bafd24c93fd..732997705a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/devicestates/DeviceStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/devicestates/DeviceStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EmbeddedSIMDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%2Did}/deviceStates", 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/devicemanagement/embeddedsimactivationcodepools/item/devicestates/item/EmbeddedSIMDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/devicestates/item/EmbeddedSIMDeviceStateItemRequestBuilder.java index fcab692233b..e0e84dd7bd1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/devicestates/item/EmbeddedSIMDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/embeddedsimactivationcodepools/item/devicestates/item/EmbeddedSIMDeviceStateItemRequestBuilder.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}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%2Did}/deviceStates/{embeddedSIMDeviceState%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 EmbeddedSIMDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/embeddedSIMActivationCodePools/{embeddedSIMActivationCodePool%2Did}/deviceStates/{embeddedSIMDeviceState%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/devicemanagement/exchangeconnectors/ExchangeConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeconnectors/ExchangeConnectorsRequestBuilder.java index 1e40738c872..176301173c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeconnectors/ExchangeConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeconnectors/ExchangeConnectorsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementExchangeConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/exchangeConnectors", 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/devicemanagement/exchangeconnectors/item/DeviceManagementExchangeConnectorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeconnectors/item/DeviceManagementExchangeConnectorItemRequestBuilder.java index 35e77cef465..62107a9b9f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeconnectors/item/DeviceManagementExchangeConnectorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeconnectors/item/DeviceManagementExchangeConnectorItemRequestBuilder.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}/deviceManagement/exchangeConnectors/{deviceManagementExchangeConnector%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 DeviceManagementExchangeConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/exchangeConnectors/{deviceManagementExchangeConnector%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/devicemanagement/exchangeonpremisespolicies/ExchangeOnPremisesPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/ExchangeOnPremisesPoliciesRequestBuilder.java index 05b8b36936b..0373094b951 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/ExchangeOnPremisesPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/ExchangeOnPremisesPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementExchangeOnPremisesPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/exchangeOnPremisesPolicies", 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/devicemanagement/exchangeonpremisespolicies/item/DeviceManagementExchangeOnPremisesPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/item/DeviceManagementExchangeOnPremisesPolicyItemRequestBuilder.java index a63c7d7ac33..7c809e97670 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/item/DeviceManagementExchangeOnPremisesPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/item/DeviceManagementExchangeOnPremisesPolicyItemRequestBuilder.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}/deviceManagement/exchangeOnPremisesPolicies/{deviceManagementExchangeOnPremisesPolicy%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 DeviceManagementExchangeOnPremisesPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/exchangeOnPremisesPolicies/{deviceManagementExchangeOnPremisesPolicy%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/devicemanagement/exchangeonpremisespolicies/item/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/item/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java index d3f0f5a4e63..cb751f00e02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/item/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicies/item/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.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}/deviceManagement/exchangeOnPremisesPolicies/{deviceManagementExchangeOnPremisesPolicy%2Did}/conditionalAccessSettings", 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 OnPremisesConditionalAccessSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/exchangeOnPremisesPolicies/{deviceManagementExchangeOnPremisesPolicy%2Did}/conditionalAccessSettings", 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/devicemanagement/exchangeonpremisespolicy/ExchangeOnPremisesPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicy/ExchangeOnPremisesPolicyRequestBuilder.java index d5731abd920..e456d705c8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicy/ExchangeOnPremisesPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicy/ExchangeOnPremisesPolicyRequestBuilder.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}/deviceManagement/exchangeOnPremisesPolicy", 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 DeviceManagementExchangeOnPremisesPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/exchangeOnPremisesPolicy", 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/devicemanagement/exchangeonpremisespolicy/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicy/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java index 6103e05b495..5ce73dc38cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicy/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/exchangeonpremisespolicy/conditionalaccesssettings/ConditionalAccessSettingsRequestBuilder.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}/deviceManagement/exchangeOnPremisesPolicy/conditionalAccessSettings", 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 OnPremisesConditionalAccessSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/exchangeOnPremisesPolicy/conditionalAccessSettings", 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/devicemanagement/grouppolicycategories/GroupPolicyCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicycategories/GroupPolicyCategoriesRequestBuilder.java index c949979b3f7..1f577ed034d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicycategories/GroupPolicyCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicycategories/GroupPolicyCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyCategories", 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/devicemanagement/grouppolicycategories/item/GroupPolicyCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicycategories/item/GroupPolicyCategoryItemRequestBuilder.java index b0897c6dca9..f43fb39451a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicycategories/item/GroupPolicyCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicycategories/item/GroupPolicyCategoryItemRequestBuilder.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}/deviceManagement/groupPolicyCategories/{groupPolicyCategory%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 GroupPolicyCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyCategories/{groupPolicyCategory%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/devicemanagement/grouppolicyconfigurations/GroupPolicyConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/GroupPolicyConfigurationsRequestBuilder.java index 802ce58bb8d..5499a0e1c1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/GroupPolicyConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/GroupPolicyConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyConfigurations", 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/devicemanagement/grouppolicyconfigurations/item/GroupPolicyConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/GroupPolicyConfigurationItemRequestBuilder.java index 46b996646fe..85f3372cbe7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/GroupPolicyConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/GroupPolicyConfigurationItemRequestBuilder.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}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%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 GroupPolicyConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%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/devicemanagement/grouppolicyconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/assignments/AssignmentsRequestBuilder.java index 442b4552188..0547344022c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/assignments", 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/devicemanagement/grouppolicyconfigurations/item/assignments/item/GroupPolicyConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/assignments/item/GroupPolicyConfigurationAssignmentItemRequestBuilder.java index 7adb177be56..6e07756a49a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/assignments/item/GroupPolicyConfigurationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/assignments/item/GroupPolicyConfigurationAssignmentItemRequestBuilder.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}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/assignments/{groupPolicyConfigurationAssignment%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 GroupPolicyConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/assignments/{groupPolicyConfigurationAssignment%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/devicemanagement/grouppolicyconfigurations/item/definitionvalues/DefinitionValuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/DefinitionValuesRequestBuilder.java index fa8eb91865a..2437f573acd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/DefinitionValuesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/DefinitionValuesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyDefinitionValue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/definitionValues", 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/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/GroupPolicyDefinitionValueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/GroupPolicyDefinitionValueItemRequestBuilder.java index 40e800d075f..1f9cdd51bc9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/GroupPolicyDefinitionValueItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/GroupPolicyDefinitionValueItemRequestBuilder.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}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/definitionValues/{groupPolicyDefinitionValue%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 GroupPolicyDefinitionValue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/definitionValues/{groupPolicyDefinitionValue%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/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/PresentationValuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/PresentationValuesRequestBuilder.java index e0e25bfc56a..a801df5bdfc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/PresentationValuesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/PresentationValuesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyPresentationValue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/definitionValues/{groupPolicyDefinitionValue%2Did}/presentationValues", 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/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/item/GroupPolicyPresentationValueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/item/GroupPolicyPresentationValueItemRequestBuilder.java index 3e238ddbf0d..29cdde08ae6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/item/GroupPolicyPresentationValueItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyconfigurations/item/definitionvalues/item/presentationvalues/item/GroupPolicyPresentationValueItemRequestBuilder.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}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/definitionValues/{groupPolicyDefinitionValue%2Did}/presentationValues/{groupPolicyPresentationValue%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 GroupPolicyPresentationValue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyConfigurations/{groupPolicyConfiguration%2Did}/definitionValues/{groupPolicyDefinitionValue%2Did}/presentationValues/{groupPolicyPresentationValue%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/devicemanagement/grouppolicydefinitionfiles/GroupPolicyDefinitionFilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitionfiles/GroupPolicyDefinitionFilesRequestBuilder.java index d751541e5af..ec1ae8ac3b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitionfiles/GroupPolicyDefinitionFilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitionfiles/GroupPolicyDefinitionFilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyDefinitionFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyDefinitionFiles", 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/devicemanagement/grouppolicydefinitionfiles/item/GroupPolicyDefinitionFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitionfiles/item/GroupPolicyDefinitionFileItemRequestBuilder.java index 00c446e01dc..50d906da927 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitionfiles/item/GroupPolicyDefinitionFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitionfiles/item/GroupPolicyDefinitionFileItemRequestBuilder.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}/deviceManagement/groupPolicyDefinitionFiles/{groupPolicyDefinitionFile%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 GroupPolicyDefinitionFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitionFiles/{groupPolicyDefinitionFile%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/devicemanagement/grouppolicydefinitions/GroupPolicyDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/GroupPolicyDefinitionsRequestBuilder.java index 5ebdb797dd9..862f351228b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/GroupPolicyDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/GroupPolicyDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyDefinitions", 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/devicemanagement/grouppolicydefinitions/item/GroupPolicyDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/GroupPolicyDefinitionItemRequestBuilder.java index 23e7a00e910..1ffa979c457 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/GroupPolicyDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/GroupPolicyDefinitionItemRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}", 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 GroupPolicyDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%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/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/NextVersionDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/NextVersionDefinitionRequestBuilder.java index cef3729561a..c1cf4780fa6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/NextVersionDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/NextVersionDefinitionRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition", 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 GroupPolicyDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition", 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/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/PresentationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/PresentationsRequestBuilder.java index f48e5984ee5..19dccf0d109 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/PresentationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/PresentationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/presentations", 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/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java index 6e2a75b56e4..21959a9eb68 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/presentations/{groupPolicyPresentation%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 GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/presentations/{groupPolicyPresentation%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/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.java index 1a4639aeb71..1f13058987a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/previousVersionDefinition", 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 GroupPolicyDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/previousVersionDefinition", 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/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/PresentationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/PresentationsRequestBuilder.java index e12b0b69b8d..a81a419e74f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/PresentationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/PresentationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/previousVersionDefinition/presentations", 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/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java index adc4594975b..359a3353c49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/nextversiondefinition/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/previousVersionDefinition/presentations/{groupPolicyPresentation%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 GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/nextVersionDefinition/previousVersionDefinition/presentations/{groupPolicyPresentation%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/devicemanagement/grouppolicydefinitions/item/presentations/PresentationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/presentations/PresentationsRequestBuilder.java index f64a80205d4..277bb548b35 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/presentations/PresentationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/presentations/PresentationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/presentations", 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/devicemanagement/grouppolicydefinitions/item/presentations/item/GroupPolicyPresentationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/presentations/item/GroupPolicyPresentationItemRequestBuilder.java index 1fd3ea15c17..c2860709976 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/presentations/item/GroupPolicyPresentationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/presentations/item/GroupPolicyPresentationItemRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/presentations/{groupPolicyPresentation%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 GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/presentations/{groupPolicyPresentation%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/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.java index ba12c9b6e62..9c6a2862a93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/PreviousVersionDefinitionRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition", 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 GroupPolicyDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition", 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/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/NextVersionDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/NextVersionDefinitionRequestBuilder.java index 216922ec31a..4eac66f7984 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/NextVersionDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/NextVersionDefinitionRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/nextVersionDefinition", 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 GroupPolicyDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/nextVersionDefinition", 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/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/PresentationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/PresentationsRequestBuilder.java index 11c26020e98..78ccac4e957 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/PresentationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/PresentationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/nextVersionDefinition/presentations", 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/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java index 3dd1334ade5..5cbfaccf098 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/nextversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/nextVersionDefinition/presentations/{groupPolicyPresentation%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 GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/nextVersionDefinition/presentations/{groupPolicyPresentation%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/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/PresentationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/PresentationsRequestBuilder.java index cb69807dce3..388b3f0f2db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/PresentationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/PresentationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/presentations", 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/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java index 88a88793a54..fd1b59c1ca0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicydefinitions/item/previousversiondefinition/presentations/item/GroupPolicyPresentationItemRequestBuilder.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}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/presentations/{groupPolicyPresentation%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 GroupPolicyPresentation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyDefinitions/{groupPolicyDefinition%2Did}/previousVersionDefinition/presentations/{groupPolicyPresentation%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/devicemanagement/grouppolicymigrationreports/GroupPolicyMigrationReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/GroupPolicyMigrationReportsRequestBuilder.java index 4285218f136..6f9b5a35938 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/GroupPolicyMigrationReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/GroupPolicyMigrationReportsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyMigrationReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyMigrationReports", 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/devicemanagement/grouppolicymigrationreports/item/GroupPolicyMigrationReportItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/GroupPolicyMigrationReportItemRequestBuilder.java index 17d8257fff2..8c3f0e85acc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/GroupPolicyMigrationReportItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/GroupPolicyMigrationReportItemRequestBuilder.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}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%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 GroupPolicyMigrationReport body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%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/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/GroupPolicySettingMappingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/GroupPolicySettingMappingsRequestBuilder.java index e5967343941..0915099416f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/GroupPolicySettingMappingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/GroupPolicySettingMappingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicySettingMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%2Did}/groupPolicySettingMappings", 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/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/item/GroupPolicySettingMappingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/item/GroupPolicySettingMappingItemRequestBuilder.java index 57bff4b51d5..504f07d1374 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/item/GroupPolicySettingMappingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/grouppolicysettingmappings/item/GroupPolicySettingMappingItemRequestBuilder.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}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%2Did}/groupPolicySettingMappings/{groupPolicySettingMapping%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 GroupPolicySettingMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%2Did}/groupPolicySettingMappings/{groupPolicySettingMapping%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/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/UnsupportedGroupPolicyExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/UnsupportedGroupPolicyExtensionsRequestBuilder.java index d3abf0c1939..938567d16d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/UnsupportedGroupPolicyExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/UnsupportedGroupPolicyExtensionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnsupportedGroupPolicyExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%2Did}/unsupportedGroupPolicyExtensions", 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/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/item/UnsupportedGroupPolicyExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/item/UnsupportedGroupPolicyExtensionItemRequestBuilder.java index ac49b0b8cd8..0c9abf0279b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/item/UnsupportedGroupPolicyExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicymigrationreports/item/unsupportedgrouppolicyextensions/item/UnsupportedGroupPolicyExtensionItemRequestBuilder.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}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%2Did}/unsupportedGroupPolicyExtensions/{unsupportedGroupPolicyExtension%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 UnsupportedGroupPolicyExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyMigrationReports/{groupPolicyMigrationReport%2Did}/unsupportedGroupPolicyExtensions/{unsupportedGroupPolicyExtension%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/devicemanagement/grouppolicyobjectfiles/GroupPolicyObjectFilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyobjectfiles/GroupPolicyObjectFilesRequestBuilder.java index 5952220b4c6..3233616fe91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyobjectfiles/GroupPolicyObjectFilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyobjectfiles/GroupPolicyObjectFilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyObjectFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyObjectFiles", 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/devicemanagement/grouppolicyobjectfiles/item/GroupPolicyObjectFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyobjectfiles/item/GroupPolicyObjectFileItemRequestBuilder.java index 49eec44c21f..5ebae1d0e8e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyobjectfiles/item/GroupPolicyObjectFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyobjectfiles/item/GroupPolicyObjectFileItemRequestBuilder.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}/deviceManagement/groupPolicyObjectFiles/{groupPolicyObjectFile%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 GroupPolicyObjectFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyObjectFiles/{groupPolicyObjectFile%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/devicemanagement/grouppolicyuploadeddefinitionfiles/GroupPolicyUploadedDefinitionFilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/GroupPolicyUploadedDefinitionFilesRequestBuilder.java index 6389246154d..08ef092a145 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/GroupPolicyUploadedDefinitionFilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/GroupPolicyUploadedDefinitionFilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyUploadedDefinitionFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyUploadedDefinitionFiles", 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/devicemanagement/grouppolicyuploadeddefinitionfiles/item/GroupPolicyUploadedDefinitionFileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/GroupPolicyUploadedDefinitionFileItemRequestBuilder.java index 61e02b1f6e7..88fdeebf0e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/GroupPolicyUploadedDefinitionFileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/GroupPolicyUploadedDefinitionFileItemRequestBuilder.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}/deviceManagement/groupPolicyUploadedDefinitionFiles/{groupPolicyUploadedDefinitionFile%2Did}", 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 GroupPolicyUploadedDefinitionFile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyUploadedDefinitionFiles/{groupPolicyUploadedDefinitionFile%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/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/GroupPolicyOperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/GroupPolicyOperationsRequestBuilder.java index 9b0a79e2a5b..b6301463258 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/GroupPolicyOperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/GroupPolicyOperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupPolicyOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/groupPolicyUploadedDefinitionFiles/{groupPolicyUploadedDefinitionFile%2Did}/groupPolicyOperations", 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/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/item/GroupPolicyOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/item/GroupPolicyOperationItemRequestBuilder.java index 7fa6e4af02c..276f565209e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/item/GroupPolicyOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/grouppolicyuploadeddefinitionfiles/item/grouppolicyoperations/item/GroupPolicyOperationItemRequestBuilder.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}/deviceManagement/groupPolicyUploadedDefinitionFiles/{groupPolicyUploadedDefinitionFile%2Did}/groupPolicyOperations/{groupPolicyOperation%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 GroupPolicyOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/groupPolicyUploadedDefinitionFiles/{groupPolicyUploadedDefinitionFile%2Did}/groupPolicyOperations/{groupPolicyOperation%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/devicemanagement/hardwareconfigurations/HardwareConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/HardwareConfigurationsRequestBuilder.java new file mode 100644 index 00000000000..0d854bb54d5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/HardwareConfigurationsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations; + +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.count.CountRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.HardwareConfigurationItemRequestBuilder; +import com.microsoft.graph.beta.models.HardwareConfiguration; +import com.microsoft.graph.beta.models.HardwareConfigurationCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the hardwareConfigurations property of the microsoft.graph.deviceManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class HardwareConfigurationsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the hardwareConfigurations property of the microsoft.graph.deviceManagement entity. + * @param hardwareConfigurationId The unique identifier of hardwareConfiguration + * @return a {@link HardwareConfigurationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationItemRequestBuilder byHardwareConfigurationId(@jakarta.annotation.Nonnull final String hardwareConfigurationId) { + Objects.requireNonNull(hardwareConfigurationId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("hardwareConfiguration%2Did", hardwareConfigurationId); + return new HardwareConfigurationItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link HardwareConfigurationsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link HardwareConfigurationsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The hardware configurations for this account. + * @return a {@link HardwareConfigurationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationCollectionResponse get() { + return get(null); + } + /** + * The hardware configurations for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to hardwareConfigurations for deviceManagement + * @param body The request body + * @return a {@link HardwareConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfiguration post(@jakarta.annotation.Nonnull final HardwareConfiguration body) { + return post(body, null); + } + /** + * Create new navigation property to hardwareConfigurations for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfiguration post(@jakarta.annotation.Nonnull final HardwareConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfiguration::createFromDiscriminatorValue); + } + /** + * The hardware configurations for this account. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The hardware configurations for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to hardwareConfigurations for deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfiguration body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to hardwareConfigurations for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link HardwareConfigurationsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new HardwareConfigurationsRequestBuilder(rawUrl, requestAdapter); + } + /** + * The hardware configurations for this account. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/count/CountRequestBuilder.java new file mode 100644 index 00000000000..0291c1eb946 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/HardwareConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/HardwareConfigurationItemRequestBuilder.java new file mode 100644 index 00000000000..1da74c83df6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/HardwareConfigurationItemRequestBuilder.java @@ -0,0 +1,273 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item; + +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assign.AssignRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assignments.AssignmentsRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.devicerunstates.DeviceRunStatesRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.runsummary.RunSummaryRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.userrunstates.UserRunStatesRequestBuilder; +import com.microsoft.graph.beta.models.HardwareConfiguration; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the hardwareConfigurations property of the microsoft.graph.deviceManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class HardwareConfigurationItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the assign method. + * @return a {@link AssignRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AssignRequestBuilder assign() { + return new AssignRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the assignments property of the microsoft.graph.hardwareConfiguration entity. + * @return a {@link AssignmentsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AssignmentsRequestBuilder assignments() { + return new AssignmentsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the deviceRunStates property of the microsoft.graph.hardwareConfiguration entity. + * @return a {@link DeviceRunStatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeviceRunStatesRequestBuilder deviceRunStates() { + return new DeviceRunStatesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the runSummary property of the microsoft.graph.hardwareConfiguration entity. + * @return a {@link RunSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunSummaryRequestBuilder runSummary() { + return new RunSummaryRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the userRunStates property of the microsoft.graph.hardwareConfiguration entity. + * @return a {@link UserRunStatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRunStatesRequestBuilder userRunStates() { + return new UserRunStatesRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link HardwareConfigurationItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link HardwareConfigurationItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property hardwareConfigurations for deviceManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property hardwareConfigurations for deviceManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * The hardware configurations for this account. + * @return a {@link HardwareConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfiguration get() { + return get(null); + } + /** + * The hardware configurations for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfiguration::createFromDiscriminatorValue); + } + /** + * Update the navigation property hardwareConfigurations in deviceManagement + * @param body The request body + * @return a {@link HardwareConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfiguration patch(@jakarta.annotation.Nonnull final HardwareConfiguration body) { + return patch(body, null); + } + /** + * Update the navigation property hardwareConfigurations in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfiguration} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfiguration patch(@jakarta.annotation.Nonnull final HardwareConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfiguration::createFromDiscriminatorValue); + } + /** + * Delete navigation property hardwareConfigurations for deviceManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property hardwareConfigurations for deviceManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * The hardware configurations for this account. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The hardware configurations for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property hardwareConfigurations in deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfiguration body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property hardwareConfigurations in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link HardwareConfigurationItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new HardwareConfigurationItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * The hardware configurations for this account. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignPostRequestBody.java new file mode 100644 index 00000000000..d270753be34 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignPostRequestBody.java @@ -0,0 +1,108 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assign; + +import com.microsoft.graph.beta.models.HardwareConfigurationAssignment; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AssignPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AssignPostRequestBody} and sets the default values. + */ + public AssignPostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AssignPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static AssignPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AssignPostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("hardwareConfigurationAssignments", (n) -> { this.setHardwareConfigurationAssignments(n.getCollectionOfObjectValues(HardwareConfigurationAssignment::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the hardwareConfigurationAssignments property value. The hardwareConfigurationAssignments property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getHardwareConfigurationAssignments() { + return this.backingStore.get("hardwareConfigurationAssignments"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeCollectionOfObjectValues("hardwareConfigurationAssignments", this.getHardwareConfigurationAssignments()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the hardwareConfigurationAssignments property value. The hardwareConfigurationAssignments property + * @param value Value to set for the hardwareConfigurationAssignments property. + */ + public void setHardwareConfigurationAssignments(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("hardwareConfigurationAssignments", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignPostResponse.java new file mode 100644 index 00000000000..0def40e5a6d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignPostResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assign; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.HardwareConfigurationAssignment; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AssignPostResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link AssignPostResponse} and sets the default values. + */ + public AssignPostResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AssignPostResponse} + */ + @jakarta.annotation.Nonnull + public static AssignPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AssignPostResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(HardwareConfigurationAssignment::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignRequestBuilder.java new file mode 100644 index 00000000000..43903ca8fee --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assign/AssignRequestBuilder.java @@ -0,0 +1,102 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assign; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the assign method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AssignRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link AssignRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AssignRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assign", pathParameters); + } + /** + * Instantiates a new {@link AssignRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AssignRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assign", rawUrl); + } + /** + * Invoke action assign + * @param body The request body + * @return a {@link AssignPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AssignPostResponse post(@jakarta.annotation.Nonnull final AssignPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action assign + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link AssignPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public AssignPostResponse post(@jakarta.annotation.Nonnull final AssignPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, AssignPostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action assign + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AssignPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action assign + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AssignPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AssignRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AssignRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AssignRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/AssignmentsRequestBuilder.java new file mode 100644 index 00000000000..117213fc575 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/AssignmentsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assignments; + +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assignments.count.CountRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assignments.item.HardwareConfigurationAssignmentItemRequestBuilder; +import com.microsoft.graph.beta.models.HardwareConfigurationAssignment; +import com.microsoft.graph.beta.models.HardwareConfigurationAssignmentCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the assignments property of the microsoft.graph.hardwareConfiguration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AssignmentsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the assignments property of the microsoft.graph.hardwareConfiguration entity. + * @param hardwareConfigurationAssignmentId The unique identifier of hardwareConfigurationAssignment + * @return a {@link HardwareConfigurationAssignmentItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationAssignmentItemRequestBuilder byHardwareConfigurationAssignmentId(@jakarta.annotation.Nonnull final String hardwareConfigurationAssignmentId) { + Objects.requireNonNull(hardwareConfigurationAssignmentId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("hardwareConfigurationAssignment%2Did", hardwareConfigurationAssignmentId); + return new HardwareConfigurationAssignmentItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link AssignmentsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link AssignmentsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @return a {@link HardwareConfigurationAssignmentCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignmentCollectionResponse get() { + return get(null); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationAssignmentCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationAssignmentCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to assignments for deviceManagement + * @param body The request body + * @return a {@link HardwareConfigurationAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignment post(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body) { + return post(body, null); + } + /** + * Create new navigation property to assignments for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignment post(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationAssignment::createFromDiscriminatorValue); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to assignments for deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to assignments for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link AssignmentsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public AssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new AssignmentsRequestBuilder(rawUrl, requestAdapter); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/count/CountRequestBuilder.java new file mode 100644 index 00000000000..70d7b63f99f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assignments.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assignments/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assignments/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/item/HardwareConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/item/HardwareConfigurationAssignmentItemRequestBuilder.java new file mode 100644 index 00000000000..6d36baa5e82 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/assignments/item/HardwareConfigurationAssignmentItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.assignments.item; + +import com.microsoft.graph.beta.models.HardwareConfigurationAssignment; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the assignments property of the microsoft.graph.hardwareConfiguration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class HardwareConfigurationAssignmentItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link HardwareConfigurationAssignmentItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assignments/{hardwareConfigurationAssignment%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link HardwareConfigurationAssignmentItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/assignments/{hardwareConfigurationAssignment%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property assignments for deviceManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property assignments for deviceManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @return a {@link HardwareConfigurationAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignment get() { + return get(null); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationAssignment::createFromDiscriminatorValue); + } + /** + * Update the navigation property assignments in deviceManagement + * @param body The request body + * @return a {@link HardwareConfigurationAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignment patch(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body) { + return patch(body, null); + } + /** + * Update the navigation property assignments in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationAssignment} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationAssignment patch(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationAssignment::createFromDiscriminatorValue); + } + /** + * Delete navigation property assignments for deviceManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property assignments for deviceManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property assignments in deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property assignments in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link HardwareConfigurationAssignmentItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new HardwareConfigurationAssignmentItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * List of the Azure AD user group ids that hardware configuration will be applied to. Only security groups and Office 365 Groups are supported. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/DeviceRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/DeviceRunStatesRequestBuilder.java new file mode 100644 index 00000000000..89e7cd9ceb0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/DeviceRunStatesRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.devicerunstates; + +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.devicerunstates.count.CountRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.devicerunstates.item.HardwareConfigurationDeviceStateItemRequestBuilder; +import com.microsoft.graph.beta.models.HardwareConfigurationDeviceState; +import com.microsoft.graph.beta.models.HardwareConfigurationDeviceStateCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the deviceRunStates property of the microsoft.graph.hardwareConfiguration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DeviceRunStatesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the deviceRunStates property of the microsoft.graph.hardwareConfiguration entity. + * @param hardwareConfigurationDeviceStateId The unique identifier of hardwareConfigurationDeviceState + * @return a {@link HardwareConfigurationDeviceStateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationDeviceStateItemRequestBuilder byHardwareConfigurationDeviceStateId(@jakarta.annotation.Nonnull final String hardwareConfigurationDeviceStateId) { + Objects.requireNonNull(hardwareConfigurationDeviceStateId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("hardwareConfigurationDeviceState%2Did", hardwareConfigurationDeviceStateId); + return new HardwareConfigurationDeviceStateItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link DeviceRunStatesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeviceRunStatesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/deviceRunStates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link DeviceRunStatesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DeviceRunStatesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/deviceRunStates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * List of run states for the hardware configuration across all devices + * @return a {@link HardwareConfigurationDeviceStateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceStateCollectionResponse get() { + return get(null); + } + /** + * List of run states for the hardware configuration across all devices + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationDeviceStateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationDeviceStateCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to deviceRunStates for deviceManagement + * @param body The request body + * @return a {@link HardwareConfigurationDeviceState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceState post(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body) { + return post(body, null); + } + /** + * Create new navigation property to deviceRunStates for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationDeviceState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceState post(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationDeviceState::createFromDiscriminatorValue); + } + /** + * List of run states for the hardware configuration across all devices + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * List of run states for the hardware configuration across all devices + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to deviceRunStates for deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to deviceRunStates for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link DeviceRunStatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DeviceRunStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DeviceRunStatesRequestBuilder(rawUrl, requestAdapter); + } + /** + * List of run states for the hardware configuration across all devices + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/count/CountRequestBuilder.java new file mode 100644 index 00000000000..d5f2c614861 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.devicerunstates.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/deviceRunStates/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/deviceRunStates/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/item/HardwareConfigurationDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/item/HardwareConfigurationDeviceStateItemRequestBuilder.java new file mode 100644 index 00000000000..79b3c8bdd12 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/devicerunstates/item/HardwareConfigurationDeviceStateItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.devicerunstates.item; + +import com.microsoft.graph.beta.models.HardwareConfigurationDeviceState; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the deviceRunStates property of the microsoft.graph.hardwareConfiguration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class HardwareConfigurationDeviceStateItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link HardwareConfigurationDeviceStateItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationDeviceStateItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/deviceRunStates/{hardwareConfigurationDeviceState%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link HardwareConfigurationDeviceStateItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationDeviceStateItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/deviceRunStates/{hardwareConfigurationDeviceState%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property deviceRunStates for deviceManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property deviceRunStates for deviceManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * List of run states for the hardware configuration across all devices + * @return a {@link HardwareConfigurationDeviceState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceState get() { + return get(null); + } + /** + * List of run states for the hardware configuration across all devices + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationDeviceState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationDeviceState::createFromDiscriminatorValue); + } + /** + * Update the navigation property deviceRunStates in deviceManagement + * @param body The request body + * @return a {@link HardwareConfigurationDeviceState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceState patch(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body) { + return patch(body, null); + } + /** + * Update the navigation property deviceRunStates in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationDeviceState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationDeviceState patch(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationDeviceState::createFromDiscriminatorValue); + } + /** + * Delete navigation property deviceRunStates for deviceManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property deviceRunStates for deviceManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * List of run states for the hardware configuration across all devices + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * List of run states for the hardware configuration across all devices + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property deviceRunStates in deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property deviceRunStates in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link HardwareConfigurationDeviceStateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationDeviceStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new HardwareConfigurationDeviceStateItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * List of run states for the hardware configuration across all devices + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/runsummary/RunSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/runsummary/RunSummaryRequestBuilder.java new file mode 100644 index 00000000000..495e8117e80 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/runsummary/RunSummaryRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.runsummary; + +import com.microsoft.graph.beta.models.HardwareConfigurationRunSummary; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the runSummary property of the microsoft.graph.hardwareConfiguration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RunSummaryRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RunSummaryRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunSummaryRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/runSummary{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RunSummaryRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RunSummaryRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/runSummary{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property runSummary for deviceManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property runSummary for deviceManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * A summary of the results from an attempt to configure hardware settings + * @return a {@link HardwareConfigurationRunSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationRunSummary get() { + return get(null); + } + /** + * A summary of the results from an attempt to configure hardware settings + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationRunSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationRunSummary get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationRunSummary::createFromDiscriminatorValue); + } + /** + * Update the navigation property runSummary in deviceManagement + * @param body The request body + * @return a {@link HardwareConfigurationRunSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationRunSummary patch(@jakarta.annotation.Nonnull final HardwareConfigurationRunSummary body) { + return patch(body, null); + } + /** + * Update the navigation property runSummary in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationRunSummary} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationRunSummary patch(@jakarta.annotation.Nonnull final HardwareConfigurationRunSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationRunSummary::createFromDiscriminatorValue); + } + /** + * Delete navigation property runSummary for deviceManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property runSummary for deviceManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * A summary of the results from an attempt to configure hardware settings + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * A summary of the results from an attempt to configure hardware settings + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property runSummary in deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationRunSummary body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property runSummary in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationRunSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RunSummaryRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RunSummaryRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RunSummaryRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * A summary of the results from an attempt to configure hardware settings + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/UserRunStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/UserRunStatesRequestBuilder.java new file mode 100644 index 00000000000..433ef3db6b3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/UserRunStatesRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.userrunstates; + +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.userrunstates.count.CountRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.userrunstates.item.HardwareConfigurationUserStateItemRequestBuilder; +import com.microsoft.graph.beta.models.HardwareConfigurationUserState; +import com.microsoft.graph.beta.models.HardwareConfigurationUserStateCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the userRunStates property of the microsoft.graph.hardwareConfiguration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UserRunStatesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the userRunStates property of the microsoft.graph.hardwareConfiguration entity. + * @param hardwareConfigurationUserStateId The unique identifier of hardwareConfigurationUserState + * @return a {@link HardwareConfigurationUserStateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationUserStateItemRequestBuilder byHardwareConfigurationUserStateId(@jakarta.annotation.Nonnull final String hardwareConfigurationUserStateId) { + Objects.requireNonNull(hardwareConfigurationUserStateId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("hardwareConfigurationUserState%2Did", hardwareConfigurationUserStateId); + return new HardwareConfigurationUserStateItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link UserRunStatesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserRunStatesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/userRunStates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link UserRunStatesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UserRunStatesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/userRunStates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * List of run states for the hardware configuration across all users + * @return a {@link HardwareConfigurationUserStateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserStateCollectionResponse get() { + return get(null); + } + /** + * List of run states for the hardware configuration across all users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationUserStateCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserStateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationUserStateCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to userRunStates for deviceManagement + * @param body The request body + * @return a {@link HardwareConfigurationUserState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserState post(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body) { + return post(body, null); + } + /** + * Create new navigation property to userRunStates for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationUserState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserState post(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationUserState::createFromDiscriminatorValue); + } + /** + * List of run states for the hardware configuration across all users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * List of run states for the hardware configuration across all users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to userRunStates for deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to userRunStates for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link UserRunStatesRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UserRunStatesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UserRunStatesRequestBuilder(rawUrl, requestAdapter); + } + /** + * List of run states for the hardware configuration across all users + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/count/CountRequestBuilder.java new file mode 100644 index 00000000000..df9b9b271d4 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.userrunstates.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/userRunStates/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/userRunStates/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/item/HardwareConfigurationUserStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/item/HardwareConfigurationUserStateItemRequestBuilder.java new file mode 100644 index 00000000000..9ac99d067d7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwareconfigurations/item/userrunstates/item/HardwareConfigurationUserStateItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.devicemanagement.hardwareconfigurations.item.userrunstates.item; + +import com.microsoft.graph.beta.models.HardwareConfigurationUserState; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the userRunStates property of the microsoft.graph.hardwareConfiguration entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class HardwareConfigurationUserStateItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link HardwareConfigurationUserStateItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationUserStateItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/userRunStates/{hardwareConfigurationUserState%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link HardwareConfigurationUserStateItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwareConfigurationUserStateItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwareConfigurations/{hardwareConfiguration%2Did}/userRunStates/{hardwareConfigurationUserState%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property userRunStates for deviceManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property userRunStates for deviceManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * List of run states for the hardware configuration across all users + * @return a {@link HardwareConfigurationUserState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserState get() { + return get(null); + } + /** + * List of run states for the hardware configuration across all users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationUserState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserState get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationUserState::createFromDiscriminatorValue); + } + /** + * Update the navigation property userRunStates in deviceManagement + * @param body The request body + * @return a {@link HardwareConfigurationUserState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserState patch(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body) { + return patch(body, null); + } + /** + * Update the navigation property userRunStates in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwareConfigurationUserState} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwareConfigurationUserState patch(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwareConfigurationUserState::createFromDiscriminatorValue); + } + /** + * Delete navigation property userRunStates for deviceManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property userRunStates for deviceManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * List of run states for the hardware configuration across all users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * List of run states for the hardware configuration across all users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property userRunStates in deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property userRunStates in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwareConfigurationUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link HardwareConfigurationUserStateItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwareConfigurationUserStateItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new HardwareConfigurationUserStateItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * List of run states for the hardware configuration across all users + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/HardwarePasswordInfoRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/HardwarePasswordInfoRequestBuilder.java new file mode 100644 index 00000000000..7e5a9763081 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/HardwarePasswordInfoRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.devicemanagement.hardwarepasswordinfo; + +import com.microsoft.graph.beta.devicemanagement.hardwarepasswordinfo.count.CountRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.hardwarepasswordinfo.item.HardwarePasswordInfoItemRequestBuilder; +import com.microsoft.graph.beta.models.HardwarePasswordInfo; +import com.microsoft.graph.beta.models.HardwarePasswordInfoCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the hardwarePasswordInfo property of the microsoft.graph.deviceManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class HardwarePasswordInfoRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the hardwarePasswordInfo property of the microsoft.graph.deviceManagement entity. + * @param hardwarePasswordInfoId The unique identifier of hardwarePasswordInfo + * @return a {@link HardwarePasswordInfoItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwarePasswordInfoItemRequestBuilder byHardwarePasswordInfoId(@jakarta.annotation.Nonnull final String hardwarePasswordInfoId) { + Objects.requireNonNull(hardwarePasswordInfoId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("hardwarePasswordInfo%2Did", hardwarePasswordInfoId); + return new HardwarePasswordInfoItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link HardwarePasswordInfoRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwarePasswordInfoRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordInfo{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link HardwarePasswordInfoRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwarePasswordInfoRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordInfo{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * The hardware password info for this account. + * @return a {@link HardwarePasswordInfoCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfoCollectionResponse get() { + return get(null); + } + /** + * The hardware password info for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwarePasswordInfoCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfoCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwarePasswordInfoCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to hardwarePasswordInfo for deviceManagement + * @param body The request body + * @return a {@link HardwarePasswordInfo} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfo post(@jakarta.annotation.Nonnull final HardwarePasswordInfo body) { + return post(body, null); + } + /** + * Create new navigation property to hardwarePasswordInfo for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwarePasswordInfo} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfo post(@jakarta.annotation.Nonnull final HardwarePasswordInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwarePasswordInfo::createFromDiscriminatorValue); + } + /** + * The hardware password info for this account. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The hardware password info for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to hardwarePasswordInfo for deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwarePasswordInfo body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to hardwarePasswordInfo for deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HardwarePasswordInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link HardwarePasswordInfoRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwarePasswordInfoRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new HardwarePasswordInfoRequestBuilder(rawUrl, requestAdapter); + } + /** + * The hardware password info for this account. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/count/CountRequestBuilder.java new file mode 100644 index 00000000000..dc3e56e709b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.devicemanagement.hardwarepasswordinfo.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordInfo/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordInfo/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/item/HardwarePasswordInfoItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/item/HardwarePasswordInfoItemRequestBuilder.java new file mode 100644 index 00000000000..abe2e9bf75f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/hardwarepasswordinfo/item/HardwarePasswordInfoItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.devicemanagement.hardwarepasswordinfo.item; + +import com.microsoft.graph.beta.models.HardwarePasswordInfo; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the hardwarePasswordInfo property of the microsoft.graph.deviceManagement entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class HardwarePasswordInfoItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link HardwarePasswordInfoItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwarePasswordInfoItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordInfo/{hardwarePasswordInfo%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link HardwarePasswordInfoItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public HardwarePasswordInfoItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/hardwarePasswordInfo/{hardwarePasswordInfo%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property hardwarePasswordInfo for deviceManagement + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property hardwarePasswordInfo for deviceManagement + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * The hardware password info for this account. + * @return a {@link HardwarePasswordInfo} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfo get() { + return get(null); + } + /** + * The hardware password info for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwarePasswordInfo} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfo get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwarePasswordInfo::createFromDiscriminatorValue); + } + /** + * Update the navigation property hardwarePasswordInfo in deviceManagement + * @param body The request body + * @return a {@link HardwarePasswordInfo} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfo patch(@jakarta.annotation.Nonnull final HardwarePasswordInfo body) { + return patch(body, null); + } + /** + * Update the navigation property hardwarePasswordInfo in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link HardwarePasswordInfo} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public HardwarePasswordInfo patch(@jakarta.annotation.Nonnull final HardwarePasswordInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, HardwarePasswordInfo::createFromDiscriminatorValue); + } + /** + * Delete navigation property hardwarePasswordInfo for deviceManagement + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property hardwarePasswordInfo for deviceManagement + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * The hardware password info for this account. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The hardware password info for this account. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property hardwarePasswordInfo in deviceManagement + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwarePasswordInfo body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property hardwarePasswordInfo in deviceManagement + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final HardwarePasswordInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link HardwarePasswordInfoItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public HardwarePasswordInfoItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new HardwarePasswordInfoItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * The hardware password info for this account. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importeddeviceidentities/ImportedDeviceIdentitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importeddeviceidentities/ImportedDeviceIdentitiesRequestBuilder.java index bde7965a02f..25c0a136a04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importeddeviceidentities/ImportedDeviceIdentitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importeddeviceidentities/ImportedDeviceIdentitiesRequestBuilder.java @@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ImportedDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/importedDeviceIdentities", 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/devicemanagement/importeddeviceidentities/item/ImportedDeviceIdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importeddeviceidentities/item/ImportedDeviceIdentityItemRequestBuilder.java index d1196ce0ccf..c4100720628 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importeddeviceidentities/item/ImportedDeviceIdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importeddeviceidentities/item/ImportedDeviceIdentityItemRequestBuilder.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}/deviceManagement/importedDeviceIdentities/{importedDeviceIdentity%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 ImportedDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/importedDeviceIdentities/{importedDeviceIdentity%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/devicemanagement/importedwindowsautopilotdeviceidentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importedwindowsautopilotdeviceidentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.java index 53adf05e583..d3df3887601 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importedwindowsautopilotdeviceidentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importedwindowsautopilotdeviceidentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ImportedWindowsAutopilotDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/importedWindowsAutopilotDeviceIdentities", 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/devicemanagement/importedwindowsautopilotdeviceidentities/item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importedwindowsautopilotdeviceidentities/item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.java index c7d43b83d60..5e3a3e7be2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importedwindowsautopilotdeviceidentities/item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/importedwindowsautopilotdeviceidentities/item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.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}/deviceManagement/importedWindowsAutopilotDeviceIdentities/{importedWindowsAutopilotDeviceIdentity%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 ImportedWindowsAutopilotDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/importedWindowsAutopilotDeviceIdentities/{importedWindowsAutopilotDeviceIdentity%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/devicemanagement/intents/IntentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/IntentsRequestBuilder.java index 2b146e0cd81..205c17129c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/IntentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/IntentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementIntent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents", 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/devicemanagement/intents/item/DeviceManagementIntentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/DeviceManagementIntentItemRequestBuilder.java index 819645ecca9..97e47310fea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/DeviceManagementIntentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/DeviceManagementIntentItemRequestBuilder.java @@ -244,7 +244,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}/deviceManagement/intents/{deviceManagementIntent%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -287,7 +287,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementIntent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%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/devicemanagement/intents/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/assignments/AssignmentsRequestBuilder.java index ff9a851104f..998b7af9185 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementIntentAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/assignments", 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/devicemanagement/intents/item/assignments/item/DeviceManagementIntentAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/assignments/item/DeviceManagementIntentAssignmentItemRequestBuilder.java index 9fc74783f51..3f7fa6f4d6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/assignments/item/DeviceManagementIntentAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/assignments/item/DeviceManagementIntentAssignmentItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/assignments/{deviceManagementIntentAssignment%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 DeviceManagementIntentAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/assignments/{deviceManagementIntentAssignment%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/devicemanagement/intents/item/categories/CategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/CategoriesRequestBuilder.java index dfc3c74baa7..245c05f0375 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/CategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/CategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementIntentSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories", 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/devicemanagement/intents/item/categories/item/DeviceManagementIntentSettingCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/DeviceManagementIntentSettingCategoryItemRequestBuilder.java index 0ce894a2159..da3c4c931b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/DeviceManagementIntentSettingCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/DeviceManagementIntentSettingCategoryItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%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 DeviceManagementIntentSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%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/devicemanagement/intents/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java index cd04df07f7f..dd7fdb9d65e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%2Did}/settingDefinitions", 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/devicemanagement/intents/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java index 7c2a3f17d36..9e82ef3f292 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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 DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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/devicemanagement/intents/item/categories/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settings/SettingsRequestBuilder.java index b967833ba59..2ff916ac884 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%2Did}/settings", 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/devicemanagement/intents/item/categories/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java index d987ce331e3..3c3f6349c7c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/categories/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%2Did}/settings/{deviceManagementSettingInstance%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 DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/categories/{deviceManagementIntentSettingCategory%2Did}/settings/{deviceManagementSettingInstance%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/devicemanagement/intents/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java index 14832d8944b..b2f1a0a66d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicesettingstatesummaries/DeviceSettingStateSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementIntentDeviceSettingStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceSettingStateSummaries", 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/devicemanagement/intents/item/devicesettingstatesummaries/item/DeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicesettingstatesummaries/item/DeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder.java index d5cc17653c6..20dd8c5ea45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicesettingstatesummaries/item/DeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicesettingstatesummaries/item/DeviceManagementIntentDeviceSettingStateSummaryItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceSettingStateSummaries/{deviceManagementIntentDeviceSettingStateSummary%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 DeviceManagementIntentDeviceSettingStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceSettingStateSummaries/{deviceManagementIntentDeviceSettingStateSummary%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/devicemanagement/intents/item/devicestates/DeviceStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestates/DeviceStatesRequestBuilder.java index af3fcfb7489..df8bffdd423 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestates/DeviceStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestates/DeviceStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementIntentDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceStates", 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/devicemanagement/intents/item/devicestates/item/DeviceManagementIntentDeviceStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestates/item/DeviceManagementIntentDeviceStateItemRequestBuilder.java index f5cc8b41e10..4ed69a17561 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestates/item/DeviceManagementIntentDeviceStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestates/item/DeviceManagementIntentDeviceStateItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceStates/{deviceManagementIntentDeviceState%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 DeviceManagementIntentDeviceState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceStates/{deviceManagementIntentDeviceState%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/devicemanagement/intents/item/devicestatesummary/DeviceStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestatesummary/DeviceStateSummaryRequestBuilder.java index 019090b5dd8..a5568fcdaa0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestatesummary/DeviceStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/devicestatesummary/DeviceStateSummaryRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceStateSummary", 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 DeviceManagementIntentDeviceStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/deviceStateSummary", 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/devicemanagement/intents/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/settings/SettingsRequestBuilder.java index bc4a986a825..531f4578568 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/settings", 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/devicemanagement/intents/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java index 05d79d8c35e..86ebf118ff7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/settings/{deviceManagementSettingInstance%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 DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/settings/{deviceManagementSettingInstance%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/devicemanagement/intents/item/userstates/UserStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstates/UserStatesRequestBuilder.java index 7b517a08f7d..74523493be6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstates/UserStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstates/UserStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementIntentUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/userStates", 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/devicemanagement/intents/item/userstates/item/DeviceManagementIntentUserStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstates/item/DeviceManagementIntentUserStateItemRequestBuilder.java index 7c6583e7cb3..79ec4b23086 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstates/item/DeviceManagementIntentUserStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstates/item/DeviceManagementIntentUserStateItemRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/userStates/{deviceManagementIntentUserState%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 DeviceManagementIntentUserState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/userStates/{deviceManagementIntentUserState%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/devicemanagement/intents/item/userstatesummary/UserStateSummaryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstatesummary/UserStateSummaryRequestBuilder.java index b3d73f5b0b7..d3e564a8d02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstatesummary/UserStateSummaryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intents/item/userstatesummary/UserStateSummaryRequestBuilder.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}/deviceManagement/intents/{deviceManagementIntent%2Did}/userStateSummary", 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 DeviceManagementIntentUserStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intents/{deviceManagementIntent%2Did}/userStateSummary", 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/devicemanagement/intunebrandingprofiles/IntuneBrandingProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/IntuneBrandingProfilesRequestBuilder.java index 476acabe3ff..1a0ad52c233 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/IntuneBrandingProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/IntuneBrandingProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IntuneBrandingProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intuneBrandingProfiles", 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/devicemanagement/intunebrandingprofiles/item/IntuneBrandingProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/IntuneBrandingProfileItemRequestBuilder.java index 005a993a95f..932515cfb56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/IntuneBrandingProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/IntuneBrandingProfileItemRequestBuilder.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}/deviceManagement/intuneBrandingProfiles/{intuneBrandingProfile%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 IntuneBrandingProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intuneBrandingProfiles/{intuneBrandingProfile%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/devicemanagement/intunebrandingprofiles/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/assignments/AssignmentsRequestBuilder.java index 21ae9bd1cf9..bbcd4b9cf54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IntuneBrandingProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/intuneBrandingProfiles/{intuneBrandingProfile%2Did}/assignments", 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/devicemanagement/intunebrandingprofiles/item/assignments/item/IntuneBrandingProfileAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/assignments/item/IntuneBrandingProfileAssignmentItemRequestBuilder.java index 4cdcbba2e03..02317d45a4f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/assignments/item/IntuneBrandingProfileAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/intunebrandingprofiles/item/assignments/item/IntuneBrandingProfileAssignmentItemRequestBuilder.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}/deviceManagement/intuneBrandingProfiles/{intuneBrandingProfile%2Did}/assignments/{intuneBrandingProfileAssignment%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 IntuneBrandingProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/intuneBrandingProfiles/{intuneBrandingProfile%2Did}/assignments/{intuneBrandingProfileAssignment%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/devicemanagement/iosupdatestatuses/IosUpdateStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/iosupdatestatuses/IosUpdateStatusesRequestBuilder.java index 6314e6f8bec..1e364b21eb2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/iosupdatestatuses/IosUpdateStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/iosupdatestatuses/IosUpdateStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IosUpdateDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/iosUpdateStatuses", 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/devicemanagement/iosupdatestatuses/item/IosUpdateDeviceStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/iosupdatestatuses/item/IosUpdateDeviceStatusItemRequestBuilder.java index d7d536db20f..c05e064cd8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/iosupdatestatuses/item/IosUpdateDeviceStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/iosupdatestatuses/item/IosUpdateDeviceStatusItemRequestBuilder.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}/deviceManagement/iosUpdateStatuses/{iosUpdateDeviceStatus%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 IosUpdateDeviceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/iosUpdateStatuses/{iosUpdateDeviceStatus%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/devicemanagement/macossoftwareupdateaccountsummaries/MacOSSoftwareUpdateAccountSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/MacOSSoftwareUpdateAccountSummariesRequestBuilder.java index d5a8e3b61c9..f8c2ef04cde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/MacOSSoftwareUpdateAccountSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/MacOSSoftwareUpdateAccountSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MacOSSoftwareUpdateAccountSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/macOSSoftwareUpdateAccountSummaries", 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/devicemanagement/macossoftwareupdateaccountsummaries/item/MacOSSoftwareUpdateAccountSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/MacOSSoftwareUpdateAccountSummaryItemRequestBuilder.java index 19fcf83bd17..6a716a632de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/MacOSSoftwareUpdateAccountSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/MacOSSoftwareUpdateAccountSummaryItemRequestBuilder.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}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%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 MacOSSoftwareUpdateAccountSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%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/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/CategorySummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/CategorySummariesRequestBuilder.java index 2f0a450b03a..c655fbf37f3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/CategorySummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/CategorySummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MacOSSoftwareUpdateCategorySummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%2Did}/categorySummaries", 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/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/MacOSSoftwareUpdateCategorySummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/MacOSSoftwareUpdateCategorySummaryItemRequestBuilder.java index a595e409539..fb50290a714 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/MacOSSoftwareUpdateCategorySummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/MacOSSoftwareUpdateCategorySummaryItemRequestBuilder.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}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%2Did}/categorySummaries/{macOSSoftwareUpdateCategorySummary%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 MacOSSoftwareUpdateCategorySummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%2Did}/categorySummaries/{macOSSoftwareUpdateCategorySummary%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/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/UpdateStateSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/UpdateStateSummariesRequestBuilder.java index 3b554d929c0..f6c9036ed01 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/UpdateStateSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/UpdateStateSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MacOSSoftwareUpdateStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%2Did}/categorySummaries/{macOSSoftwareUpdateCategorySummary%2Did}/updateStateSummaries", 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/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/item/MacOSSoftwareUpdateStateSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/item/MacOSSoftwareUpdateStateSummaryItemRequestBuilder.java index 248597e2687..2d3ecc31d7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/item/MacOSSoftwareUpdateStateSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/macossoftwareupdateaccountsummaries/item/categorysummaries/item/updatestatesummaries/item/MacOSSoftwareUpdateStateSummaryItemRequestBuilder.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}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%2Did}/categorySummaries/{macOSSoftwareUpdateCategorySummary%2Did}/updateStateSummaries/{macOSSoftwareUpdateStateSummary%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 MacOSSoftwareUpdateStateSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/macOSSoftwareUpdateAccountSummaries/{macOSSoftwareUpdateAccountSummary%2Did}/categorySummaries/{macOSSoftwareUpdateCategorySummary%2Did}/updateStateSummaries/{macOSSoftwareUpdateStateSummary%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/devicemanagement/manageddevicecleanuprules/ManagedDeviceCleanupRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicecleanuprules/ManagedDeviceCleanupRulesRequestBuilder.java index 3d6ec6fc270..03175393f32 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicecleanuprules/ManagedDeviceCleanupRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicecleanuprules/ManagedDeviceCleanupRulesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceCleanupRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDeviceCleanupRules", 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/devicemanagement/manageddevicecleanuprules/item/ManagedDeviceCleanupRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicecleanuprules/item/ManagedDeviceCleanupRuleItemRequestBuilder.java index 4402cbdd5a9..6c4cd90ebcf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicecleanuprules/item/ManagedDeviceCleanupRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicecleanuprules/item/ManagedDeviceCleanupRuleItemRequestBuilder.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}/deviceManagement/managedDeviceCleanupRules/{managedDeviceCleanupRule%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 ManagedDeviceCleanupRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDeviceCleanupRules/{managedDeviceCleanupRule%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/devicemanagement/manageddeviceencryptionstates/ManagedDeviceEncryptionStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddeviceencryptionstates/ManagedDeviceEncryptionStatesRequestBuilder.java index 8d6469ca244..f79057b7f1c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddeviceencryptionstates/ManagedDeviceEncryptionStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddeviceencryptionstates/ManagedDeviceEncryptionStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceEncryptionState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDeviceEncryptionStates", 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/devicemanagement/manageddeviceencryptionstates/item/ManagedDeviceEncryptionStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddeviceencryptionstates/item/ManagedDeviceEncryptionStateItemRequestBuilder.java index 283b3e13387..e2fda389ea3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddeviceencryptionstates/item/ManagedDeviceEncryptionStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddeviceencryptionstates/item/ManagedDeviceEncryptionStateItemRequestBuilder.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}/deviceManagement/managedDeviceEncryptionStates/{managedDeviceEncryptionState%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 ManagedDeviceEncryptionState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDeviceEncryptionStates/{managedDeviceEncryptionState%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/devicemanagement/manageddevices/ManagedDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/ManagedDevicesRequestBuilder.java index 7217fc28094..9ecb7a07ab4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/ManagedDevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/ManagedDevicesRequestBuilder.java @@ -209,7 +209,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices", 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/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java index 1e1634d9081..524d32bc672 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java @@ -638,7 +638,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}/deviceManagement/managedDevices/{managedDevice%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -681,7 +681,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%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/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java index f76453b2769..3a2ce8a54e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/AssignmentFilterEvaluationStatusDetailsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AssignmentFilterEvaluationStatusDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/assignmentFilterEvaluationStatusDetails", 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/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.java index 20f4cfca283..c8bde5b44b7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/assignmentfilterevaluationstatusdetails/item/AssignmentFilterEvaluationStatusDetailsItemRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/assignmentFilterEvaluationStatusDetails/{assignmentFilterEvaluationStatusDetails%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 AssignmentFilterEvaluationStatusDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/assignmentFilterEvaluationStatusDetails/{assignmentFilterEvaluationStatusDetails%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/devicemanagement/manageddevices/item/devicecategory/DeviceCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecategory/DeviceCategoryRequestBuilder.java index 23d0a36951f..8000caea4e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecategory/DeviceCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecategory/DeviceCategoryRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCategory", 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 DeviceCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCategory", 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/devicemanagement/manageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java index bf22b8fd425..a91760dbdf7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecompliancepolicystates/DeviceCompliancePolicyStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceCompliancePolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates", 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/devicemanagement/manageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.java index 1345d98622e..310bcee9dab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicecompliancepolicystates/item/DeviceCompliancePolicyStateItemRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/{deviceCompliancePolicyState%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 DeviceCompliancePolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceCompliancePolicyStates/{deviceCompliancePolicyState%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/devicemanagement/manageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java index 8f534e4260d..0c90a12d4ff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/deviceconfigurationstates/DeviceConfigurationStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceConfigurationStates", 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/devicemanagement/manageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.java index 3879150b592..2813e56f7dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/deviceconfigurationstates/item/DeviceConfigurationStateItemRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceConfigurationStates/{deviceConfigurationState%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 DeviceConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceConfigurationStates/{deviceConfigurationState%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/devicemanagement/manageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java index 185af77eb3b..d83e7c84431 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicehealthscriptstates/DeviceHealthScriptStatesRequestBuilder.java @@ -132,7 +132,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceHealthScriptPolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceHealthScriptStates", 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/devicemanagement/manageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.java index e1ae6fd297c..a6df74a3d1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/devicehealthscriptstates/withidwithpolicyidwithdeviceid/WithIdWithPolicyIdWithDeviceIdRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceHealthScriptStates/id='{id}',policyId='{policyId}',deviceId='{deviceId}'", 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 DeviceHealthScriptPolicyState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/deviceHealthScriptStates/id='{id}',policyId='{policyId}',deviceId='{deviceId}'", 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/devicemanagement/manageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java index 0465d1c846f..b6aba42dc4e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/LogCollectionRequestsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceLogCollectionResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests", 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/devicemanagement/manageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java index 0125f674d34..25af38643ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/DeviceLogCollectionResponseItemRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.beta.devicemanagement.manageddevices.item.logcollectionrequests.item; import com.microsoft.graph.beta.devicemanagement.manageddevices.item.logcollectionrequests.item.createdownloadurl.CreateDownloadUrlRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.manageddevices.item.logcollectionrequests.item.downloaddevicelogs.DownloadDeviceLogsRequestBuilder; import com.microsoft.graph.beta.models.DeviceLogCollectionResponse; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.kiota.BaseRequestBuilder; @@ -29,6 +30,14 @@ public class DeviceLogCollectionResponseItemRequestBuilder extends BaseRequestBu public CreateDownloadUrlRequestBuilder createDownloadUrl() { return new CreateDownloadUrlRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the downloadDeviceLogs method. + * @return a {@link DownloadDeviceLogsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DownloadDeviceLogsRequestBuilder downloadDeviceLogs() { + return new DownloadDeviceLogsRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link DeviceLogCollectionResponseItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request @@ -125,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}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%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 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceLogCollectionResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%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/devicemanagement/manageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsPostResponse.java new file mode 100644 index 00000000000..1fc8d909f10 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsPostResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.beta.devicemanagement.manageddevices.item.logcollectionrequests.item.downloaddevicelogs; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DownloadDeviceLogsPostResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link DownloadDeviceLogsPostResponse} and sets the default values. + */ + public DownloadDeviceLogsPostResponse() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link DownloadDeviceLogsPostResponse} + */ + @jakarta.annotation.Nonnull + public static DownloadDeviceLogsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new DownloadDeviceLogsPostResponse(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("value", this.getValue()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsRequestBuilder.java new file mode 100644 index 00000000000..817cfd362e8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/logcollectionrequests/item/downloaddevicelogs/DownloadDeviceLogsRequestBuilder.java @@ -0,0 +1,95 @@ +package com.microsoft.graph.beta.devicemanagement.manageddevices.item.logcollectionrequests.item.downloaddevicelogs; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the downloadDeviceLogs method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class DownloadDeviceLogsRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link DownloadDeviceLogsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DownloadDeviceLogsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/downloadDeviceLogs", pathParameters); + } + /** + * Instantiates a new {@link DownloadDeviceLogsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public DownloadDeviceLogsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/logCollectionRequests/{deviceLogCollectionResponse%2Did}/downloadDeviceLogs", rawUrl); + } + /** + * Invoke action downloadDeviceLogs + * @return a {@link DownloadDeviceLogsPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DownloadDeviceLogsPostResponse post() { + return post(null); + } + /** + * Invoke action downloadDeviceLogs + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link DownloadDeviceLogsPostResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public DownloadDeviceLogsPostResponse post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, DownloadDeviceLogsPostResponse::createFromDiscriminatorValue); + } + /** + * Invoke action downloadDeviceLogs + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation() { + return toPostRequestInformation(null); + } + /** + * Invoke action downloadDeviceLogs + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link DownloadDeviceLogsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public DownloadDeviceLogsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new DownloadDeviceLogsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java index a603ca5ad57..d73eb73c8ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/ManagedDeviceMobileAppConfigurationStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceMobileAppConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/managedDeviceMobileAppConfigurationStates", 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/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.java index acb0d7c5096..aaac67bc284 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/manageddevicemobileappconfigurationstates/item/ManagedDeviceMobileAppConfigurationStateItemRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/managedDeviceMobileAppConfigurationStates/{managedDeviceMobileAppConfigurationState%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 ManagedDeviceMobileAppConfigurationState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/managedDeviceMobileAppConfigurationStates/{managedDeviceMobileAppConfigurationState%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/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java index 0d4c2aa41dc..ddbd56fdb19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/SecurityBaselineStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/securityBaselineStates", 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/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java index d7827b0448a..bf0010c003d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/SecurityBaselineStateItemRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%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 SecurityBaselineState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%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/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java index 0e5546d107c..6a493069bb3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/SettingStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%2Did}/settingStates", 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/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java index 66f077a85ee..bf67f7f1895 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/securitybaselinestates/item/settingstates/item/SecurityBaselineSettingStateItemRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%2Did}/settingStates/{securityBaselineSettingState%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 SecurityBaselineSettingState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/securityBaselineStates/{securityBaselineState%2Did}/settingStates/{securityBaselineSettingState%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/devicemanagement/manageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.java index fc1609c30fb..2f2dc13314b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/WindowsProtectionStateRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState", 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 WindowsProtectionState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState", 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/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java index 036ff053ee6..7054964cf65 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/DetectedMalwareStateRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDeviceMalwareState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState", 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/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.java index 7566a881fcf..9ba8ce67d69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/windowsprotectionstate/detectedmalwarestate/item/WindowsDeviceMalwareStateItemRequestBuilder.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}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%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 WindowsDeviceMalwareState body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/windowsProtectionState/detectedMalwareState/{windowsDeviceMalwareState%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/devicemanagement/microsofttunnelconfigurations/MicrosoftTunnelConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelconfigurations/MicrosoftTunnelConfigurationsRequestBuilder.java index fccc043e887..55f5199fb93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelconfigurations/MicrosoftTunnelConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelconfigurations/MicrosoftTunnelConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MicrosoftTunnelConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/microsoftTunnelConfigurations", 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/devicemanagement/microsofttunnelconfigurations/item/MicrosoftTunnelConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelconfigurations/item/MicrosoftTunnelConfigurationItemRequestBuilder.java index 7d80b3bd457..a2d5d3f9f6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelconfigurations/item/MicrosoftTunnelConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelconfigurations/item/MicrosoftTunnelConfigurationItemRequestBuilder.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}/deviceManagement/microsoftTunnelConfigurations/{microsoftTunnelConfiguration%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 MicrosoftTunnelConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/microsoftTunnelConfigurations/{microsoftTunnelConfiguration%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/devicemanagement/microsofttunnelhealththresholds/MicrosoftTunnelHealthThresholdsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelhealththresholds/MicrosoftTunnelHealthThresholdsRequestBuilder.java index e2538aba09a..f4c075a0ac1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelhealththresholds/MicrosoftTunnelHealthThresholdsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelhealththresholds/MicrosoftTunnelHealthThresholdsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MicrosoftTunnelHealthThreshold body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/microsoftTunnelHealthThresholds", 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/devicemanagement/microsofttunnelhealththresholds/item/MicrosoftTunnelHealthThresholdItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelhealththresholds/item/MicrosoftTunnelHealthThresholdItemRequestBuilder.java index af583b0dcec..717beac4a8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelhealththresholds/item/MicrosoftTunnelHealthThresholdItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelhealththresholds/item/MicrosoftTunnelHealthThresholdItemRequestBuilder.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}/deviceManagement/microsoftTunnelHealthThresholds/{microsoftTunnelHealthThreshold%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 MicrosoftTunnelHealthThreshold body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/microsoftTunnelHealthThresholds/{microsoftTunnelHealthThreshold%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/devicemanagement/microsofttunnelserverlogcollectionresponses/MicrosoftTunnelServerLogCollectionResponsesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelserverlogcollectionresponses/MicrosoftTunnelServerLogCollectionResponsesRequestBuilder.java index 6c97ab5b4ab..be9ac69b387 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelserverlogcollectionresponses/MicrosoftTunnelServerLogCollectionResponsesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelserverlogcollectionresponses/MicrosoftTunnelServerLogCollectionResponsesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MicrosoftTunnelServerLogCollectionResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/microsoftTunnelServerLogCollectionResponses", 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/devicemanagement/microsofttunnelserverlogcollectionresponses/item/MicrosoftTunnelServerLogCollectionResponseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelserverlogcollectionresponses/item/MicrosoftTunnelServerLogCollectionResponseItemRequestBuilder.java index cc72d615214..1ce81ef832f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelserverlogcollectionresponses/item/MicrosoftTunnelServerLogCollectionResponseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelserverlogcollectionresponses/item/MicrosoftTunnelServerLogCollectionResponseItemRequestBuilder.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}/deviceManagement/microsoftTunnelServerLogCollectionResponses/{microsoftTunnelServerLogCollectionResponse%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 MicrosoftTunnelServerLogCollectionResponse body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/microsoftTunnelServerLogCollectionResponses/{microsoftTunnelServerLogCollectionResponse%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/devicemanagement/microsofttunnelsites/MicrosoftTunnelSitesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/MicrosoftTunnelSitesRequestBuilder.java index 122c4a15b60..63d3849f6a9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/MicrosoftTunnelSitesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/MicrosoftTunnelSitesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MicrosoftTunnelSite body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/microsoftTunnelSites", 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/devicemanagement/microsofttunnelsites/item/MicrosoftTunnelSiteItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/MicrosoftTunnelSiteItemRequestBuilder.java index 1fcd013e549..786d317ef45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/MicrosoftTunnelSiteItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/MicrosoftTunnelSiteItemRequestBuilder.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}/deviceManagement/microsoftTunnelSites/{microsoftTunnelSite%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 MicrosoftTunnelSite body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/microsoftTunnelSites/{microsoftTunnelSite%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/devicemanagement/microsofttunnelsites/item/microsofttunnelconfiguration/MicrosoftTunnelConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelconfiguration/MicrosoftTunnelConfigurationRequestBuilder.java index 54f935e1a08..05ba5858405 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelconfiguration/MicrosoftTunnelConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelconfiguration/MicrosoftTunnelConfigurationRequestBuilder.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}/deviceManagement/microsoftTunnelSites/{microsoftTunnelSite%2Did}/microsoftTunnelConfiguration", 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 MicrosoftTunnelConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/microsoftTunnelSites/{microsoftTunnelSite%2Did}/microsoftTunnelConfiguration", 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/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/MicrosoftTunnelServersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/MicrosoftTunnelServersRequestBuilder.java index 4415c1b8006..ae1eb1b2b9c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/MicrosoftTunnelServersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/MicrosoftTunnelServersRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MicrosoftTunnelServer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/microsoftTunnelSites/{microsoftTunnelSite%2Did}/microsoftTunnelServers", 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/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/item/MicrosoftTunnelServerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/item/MicrosoftTunnelServerItemRequestBuilder.java index f7341f24970..11d81c5115a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/item/MicrosoftTunnelServerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/microsofttunnelsites/item/microsofttunnelservers/item/MicrosoftTunnelServerItemRequestBuilder.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}/deviceManagement/microsoftTunnelSites/{microsoftTunnelSite%2Did}/microsoftTunnelServers/{microsoftTunnelServer%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 MicrosoftTunnelServer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/microsoftTunnelSites/{microsoftTunnelSite%2Did}/microsoftTunnelServers/{microsoftTunnelServer%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/devicemanagement/mobileapptroubleshootingevents/MobileAppTroubleshootingEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/MobileAppTroubleshootingEventsRequestBuilder.java index a2645038dbf..8fb083d66b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/MobileAppTroubleshootingEventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/MobileAppTroubleshootingEventsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileAppTroubleshootingEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/mobileAppTroubleshootingEvents", 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/devicemanagement/mobileapptroubleshootingevents/item/MobileAppTroubleshootingEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/MobileAppTroubleshootingEventItemRequestBuilder.java index a8ce8cc21cf..d11a464a1b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/MobileAppTroubleshootingEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/MobileAppTroubleshootingEventItemRequestBuilder.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}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%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 MobileAppTroubleshootingEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%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/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java index 4bc0d995a5f..26d812ece28 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java @@ -60,7 +60,7 @@ public AppLogCollectionRequestsRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%2Did}/appLogCollectionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @return a {@link AppLogCollectionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public AppLogCollectionRequestCollectionResponse get() { return get(null); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppLogCollectionRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public AppLogCollectionRequest post(@jakarta.annotation.Nonnull final AppLogColl return this.requestAdapter.send(requestInfo, errorMapping, AppLogCollectionRequest::createFromDiscriminatorValue); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @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 AppLogCollectionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%2Did}/appLogCollectionRequests", 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 AppLogCollectionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnul return new AppLogCollectionRequestsRequestBuilder(rawUrl, requestAdapter); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java index fdf1e359311..2e77fd4d2b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @return a {@link AppLogCollectionRequest} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public AppLogCollectionRequest get() { return get(null); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link AppLogCollectionRequest} * @throws ODataError When receiving a 4XX or 5XX status code @@ -125,13 +125,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}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%2Did}/appLogCollectionRequests/{appLogCollectionRequest%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -168,7 +168,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AppLogCollectionRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%2Did}/appLogCollectionRequests/{appLogCollectionRequest%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); @@ -191,7 +191,7 @@ public AppLogCollectionRequestItemRequestBuilder withUrl(@jakarta.annotation.Non public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Indicates collection of App Log Upload Request. + * The collection property of AppLogUploadRequest. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobilethreatdefenseconnectors/MobileThreatDefenseConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobilethreatdefenseconnectors/MobileThreatDefenseConnectorsRequestBuilder.java index f9a6d98545a..ac3765185da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobilethreatdefenseconnectors/MobileThreatDefenseConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobilethreatdefenseconnectors/MobileThreatDefenseConnectorsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobileThreatDefenseConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/mobileThreatDefenseConnectors", 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/devicemanagement/mobilethreatdefenseconnectors/item/MobileThreatDefenseConnectorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobilethreatdefenseconnectors/item/MobileThreatDefenseConnectorItemRequestBuilder.java index b4352408f98..2fd8648ba91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobilethreatdefenseconnectors/item/MobileThreatDefenseConnectorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobilethreatdefenseconnectors/item/MobileThreatDefenseConnectorItemRequestBuilder.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}/deviceManagement/mobileThreatDefenseConnectors/{mobileThreatDefenseConnector%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 MobileThreatDefenseConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/mobileThreatDefenseConnectors/{mobileThreatDefenseConnector%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/devicemanagement/monitoring/MonitoringRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/MonitoringRequestBuilder.java index 3c529e2646d..9e3e1589e2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/MonitoringRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/MonitoringRequestBuilder.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}/deviceManagement/monitoring", 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 Monitoring body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/monitoring", 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/devicemanagement/monitoring/alertrecords/AlertRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrecords/AlertRecordsRequestBuilder.java index c3e85f34335..01c4f6dfe7b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrecords/AlertRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrecords/AlertRecordsRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AlertRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/monitoring/alertRecords", 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/devicemanagement/monitoring/alertrecords/item/AlertRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrecords/item/AlertRecordItemRequestBuilder.java index 64e78c01c30..93da51c81ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrecords/item/AlertRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrecords/item/AlertRecordItemRequestBuilder.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}/deviceManagement/monitoring/alertRecords/{alertRecord%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 AlertRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/monitoring/alertRecords/{alertRecord%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/devicemanagement/monitoring/alertrules/AlertRulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrules/AlertRulesRequestBuilder.java index 58d15fd7864..a1a1fb2e1e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrules/AlertRulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrules/AlertRulesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AlertRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/monitoring/alertRules", 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/devicemanagement/monitoring/alertrules/item/AlertRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrules/item/AlertRuleItemRequestBuilder.java index e857b085ae2..30c5e67f7bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrules/item/AlertRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/monitoring/alertrules/item/AlertRuleItemRequestBuilder.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}/deviceManagement/monitoring/alertRules/{alertRule%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 AlertRule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/monitoring/alertRules/{alertRule%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/devicemanagement/ndesconnectors/NdesConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/ndesconnectors/NdesConnectorsRequestBuilder.java index bb68cde11d5..2e6b0d64724 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/ndesconnectors/NdesConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/ndesconnectors/NdesConnectorsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final NdesConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/ndesConnectors", 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/devicemanagement/ndesconnectors/item/NdesConnectorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/ndesconnectors/item/NdesConnectorItemRequestBuilder.java index 339cc9b23f3..a94e356f236 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/ndesconnectors/item/NdesConnectorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/ndesconnectors/item/NdesConnectorItemRequestBuilder.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}/deviceManagement/ndesConnectors/{ndesConnector%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 NdesConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/ndesConnectors/{ndesConnector%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/devicemanagement/notificationmessagetemplates/NotificationMessageTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/NotificationMessageTemplatesRequestBuilder.java index 08bf05d2c06..9373a221759 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/NotificationMessageTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/NotificationMessageTemplatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final NotificationMessageTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/notificationMessageTemplates", 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/devicemanagement/notificationmessagetemplates/item/NotificationMessageTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/NotificationMessageTemplateItemRequestBuilder.java index b77c1124734..0a39f85f436 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/NotificationMessageTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/NotificationMessageTemplateItemRequestBuilder.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}/deviceManagement/notificationMessageTemplates/{notificationMessageTemplate%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 NotificationMessageTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/notificationMessageTemplates/{notificationMessageTemplate%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/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/LocalizedNotificationMessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/LocalizedNotificationMessagesRequestBuilder.java index 63c1c08a38c..efc31dd2c84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/LocalizedNotificationMessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/LocalizedNotificationMessagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LocalizedNotificationMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/notificationMessageTemplates/{notificationMessageTemplate%2Did}/localizedNotificationMessages", 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/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/item/LocalizedNotificationMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/item/LocalizedNotificationMessageItemRequestBuilder.java index 45c8369f696..ea4fa571a2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/item/LocalizedNotificationMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/notificationmessagetemplates/item/localizednotificationmessages/item/LocalizedNotificationMessageItemRequestBuilder.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}/deviceManagement/notificationMessageTemplates/{notificationMessageTemplate%2Did}/localizedNotificationMessages/{localizedNotificationMessage%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 LocalizedNotificationMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/notificationMessageTemplates/{notificationMessageTemplate%2Did}/localizedNotificationMessages/{localizedNotificationMessage%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/devicemanagement/operationapprovalpolicies/OperationApprovalPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalpolicies/OperationApprovalPoliciesRequestBuilder.java index 7a6f86d545b..e673009f225 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalpolicies/OperationApprovalPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalpolicies/OperationApprovalPoliciesRequestBuilder.java @@ -180,7 +180,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OperationApprovalPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/operationApprovalPolicies", 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/devicemanagement/operationapprovalpolicies/item/OperationApprovalPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalpolicies/item/OperationApprovalPolicyItemRequestBuilder.java index 88c1fda5f39..52f668c8ff4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalpolicies/item/OperationApprovalPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalpolicies/item/OperationApprovalPolicyItemRequestBuilder.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}/deviceManagement/operationApprovalPolicies/{operationApprovalPolicy%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 OperationApprovalPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/operationApprovalPolicies/{operationApprovalPolicy%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/devicemanagement/operationapprovalrequests/OperationApprovalRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalrequests/OperationApprovalRequestsRequestBuilder.java index 3c86bdc4b71..187d4d981de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalrequests/OperationApprovalRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalrequests/OperationApprovalRequestsRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OperationApprovalRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/operationApprovalRequests", 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/devicemanagement/operationapprovalrequests/item/OperationApprovalRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalrequests/item/OperationApprovalRequestItemRequestBuilder.java index 0750c382f33..c45ac041789 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalrequests/item/OperationApprovalRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/operationapprovalrequests/item/OperationApprovalRequestItemRequestBuilder.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}/deviceManagement/operationApprovalRequests/{operationApprovalRequest%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 OperationApprovalRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/operationApprovalRequests/{operationApprovalRequest%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/devicemanagement/privilegemanagementelevations/PrivilegeManagementElevationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/privilegemanagementelevations/PrivilegeManagementElevationsRequestBuilder.java index ba2e16b5bf4..78f581ee9c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/privilegemanagementelevations/PrivilegeManagementElevationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/privilegemanagementelevations/PrivilegeManagementElevationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegeManagementElevation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/privilegeManagementElevations", 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/devicemanagement/privilegemanagementelevations/item/PrivilegeManagementElevationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/privilegemanagementelevations/item/PrivilegeManagementElevationItemRequestBuilder.java index 22b450774bf..82c31ac3a0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/privilegemanagementelevations/item/PrivilegeManagementElevationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/privilegemanagementelevations/item/PrivilegeManagementElevationItemRequestBuilder.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}/deviceManagement/privilegeManagementElevations/{privilegeManagementElevation%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 PrivilegeManagementElevation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/privilegeManagementElevations/{privilegeManagementElevation%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/devicemanagement/remoteactionaudits/RemoteActionAuditsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteactionaudits/RemoteActionAuditsRequestBuilder.java index 53ff07ef4a7..e56ec1e361f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteactionaudits/RemoteActionAuditsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteactionaudits/RemoteActionAuditsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoteActionAudit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/remoteActionAudits", 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/devicemanagement/remoteactionaudits/item/RemoteActionAuditItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteactionaudits/item/RemoteActionAuditItemRequestBuilder.java index 42e2e3bc846..3abff06aa87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteactionaudits/item/RemoteActionAuditItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteactionaudits/item/RemoteActionAuditItemRequestBuilder.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}/deviceManagement/remoteActionAudits/{remoteActionAudit%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 RemoteActionAudit body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/remoteActionAudits/{remoteActionAudit%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/devicemanagement/remoteassistancepartners/RemoteAssistancePartnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/RemoteAssistancePartnersRequestBuilder.java index 2325410dbf6..3c5ea32cb60 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/RemoteAssistancePartnersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/RemoteAssistancePartnersRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RemoteAssistancePartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/remoteAssistancePartners", 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/devicemanagement/remoteassistancepartners/item/RemoteAssistancePartnerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/RemoteAssistancePartnerItemRequestBuilder.java index f7def6abad6..ea06906a76e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/RemoteAssistancePartnerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancepartners/item/RemoteAssistancePartnerItemRequestBuilder.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}/deviceManagement/remoteAssistancePartners/{remoteAssistancePartner%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 RemoteAssistancePartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/remoteAssistancePartners/{remoteAssistancePartner%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/devicemanagement/remoteassistancesettings/RemoteAssistanceSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancesettings/RemoteAssistanceSettingsRequestBuilder.java index d5711c46140..cf5ad53be23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancesettings/RemoteAssistanceSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/remoteassistancesettings/RemoteAssistanceSettingsRequestBuilder.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}/deviceManagement/remoteAssistanceSettings", 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 RemoteAssistanceSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/remoteAssistanceSettings", 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/devicemanagement/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java index 46d7920a3bf..9548c8b42d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java @@ -764,7 +764,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}/deviceManagement/reports", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -807,7 +807,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementReports body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reports", 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/devicemanagement/reports/cachedreportconfigurations/CachedReportConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/cachedreportconfigurations/CachedReportConfigurationsRequestBuilder.java index 5bbc7ac0bd7..5c16f63de59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/cachedreportconfigurations/CachedReportConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/cachedreportconfigurations/CachedReportConfigurationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementCachedReportConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/reports/cachedReportConfigurations", 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/devicemanagement/reports/cachedreportconfigurations/item/DeviceManagementCachedReportConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/cachedreportconfigurations/item/DeviceManagementCachedReportConfigurationItemRequestBuilder.java index 21ccd17f844..10762eb84df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/cachedreportconfigurations/item/DeviceManagementCachedReportConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/cachedreportconfigurations/item/DeviceManagementCachedReportConfigurationItemRequestBuilder.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}/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration%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 DeviceManagementCachedReportConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reports/cachedReportConfigurations/{deviceManagementCachedReportConfiguration%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/devicemanagement/reports/exportjobs/ExportJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/exportjobs/ExportJobsRequestBuilder.java index 41408bf66a0..0639cb29044 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/exportjobs/ExportJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/exportjobs/ExportJobsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/reports/exportJobs", 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/devicemanagement/reports/exportjobs/item/DeviceManagementExportJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/exportjobs/item/DeviceManagementExportJobItemRequestBuilder.java index ff0f0851738..f3a3933749b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/exportjobs/item/DeviceManagementExportJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/exportjobs/item/DeviceManagementExportJobItemRequestBuilder.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}/deviceManagement/reports/exportJobs/{deviceManagementExportJob%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 DeviceManagementExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reports/exportJobs/{deviceManagementExportJob%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/devicemanagement/resourceaccessprofiles/ResourceAccessProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/ResourceAccessProfilesRequestBuilder.java index 842de73fa75..5eea74c0ebb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/ResourceAccessProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/ResourceAccessProfilesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementResourceAccessProfileBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/resourceAccessProfiles", 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/devicemanagement/resourceaccessprofiles/item/DeviceManagementResourceAccessProfileBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/DeviceManagementResourceAccessProfileBaseItemRequestBuilder.java index 39b800af666..322b2b8939d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/DeviceManagementResourceAccessProfileBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/DeviceManagementResourceAccessProfileBaseItemRequestBuilder.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}/deviceManagement/resourceAccessProfiles/{deviceManagementResourceAccessProfileBase%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 DeviceManagementResourceAccessProfileBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/resourceAccessProfiles/{deviceManagementResourceAccessProfileBase%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/devicemanagement/resourceaccessprofiles/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/assignments/AssignmentsRequestBuilder.java index 8069c80e89e..b64c7e2209c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementResourceAccessProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/resourceAccessProfiles/{deviceManagementResourceAccessProfileBase%2Did}/assignments", 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/devicemanagement/resourceaccessprofiles/item/assignments/item/DeviceManagementResourceAccessProfileAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/assignments/item/DeviceManagementResourceAccessProfileAssignmentItemRequestBuilder.java index 715b3fea697..afe0a78bd22 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/assignments/item/DeviceManagementResourceAccessProfileAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceaccessprofiles/item/assignments/item/DeviceManagementResourceAccessProfileAssignmentItemRequestBuilder.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}/deviceManagement/resourceAccessProfiles/{deviceManagementResourceAccessProfileBase%2Did}/assignments/{deviceManagementResourceAccessProfileAssignment%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 DeviceManagementResourceAccessProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/resourceAccessProfiles/{deviceManagementResourceAccessProfileBase%2Did}/assignments/{deviceManagementResourceAccessProfileAssignment%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/devicemanagement/resourceoperations/ResourceOperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceoperations/ResourceOperationsRequestBuilder.java index 8a85ce8b4af..29bf6d5703d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceoperations/ResourceOperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceoperations/ResourceOperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResourceOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/resourceOperations", 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/devicemanagement/resourceoperations/item/ResourceOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceoperations/item/ResourceOperationItemRequestBuilder.java index ad55541ed90..709b503abc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceoperations/item/ResourceOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/resourceoperations/item/ResourceOperationItemRequestBuilder.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}/deviceManagement/resourceOperations/{resourceOperation%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 ResourceOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/resourceOperations/{resourceOperation%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/devicemanagement/reusablepolicysettings/ReusablePolicySettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/ReusablePolicySettingsRequestBuilder.java index 665b5577f31..9c97326363a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/ReusablePolicySettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/ReusablePolicySettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementReusablePolicySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/reusablePolicySettings", 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/devicemanagement/reusablepolicysettings/item/DeviceManagementReusablePolicySettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/DeviceManagementReusablePolicySettingItemRequestBuilder.java index 00d7ab3ab4c..a97d6492f1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/DeviceManagementReusablePolicySettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/DeviceManagementReusablePolicySettingItemRequestBuilder.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}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%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 DeviceManagementReusablePolicySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%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/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/ReferencingConfigurationPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/ReferencingConfigurationPoliciesRequestBuilder.java index 8d14c4f30c3..63c0baeb86a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/ReferencingConfigurationPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/ReferencingConfigurationPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies", 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/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java index 5b8a0eda4bc..fe7a13371d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java @@ -188,7 +188,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}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%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/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/AssignmentsRequestBuilder.java index 24dc62768bb..4df9f469d88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignments", 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/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java index 01932270510..edd086c1034 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/assignments/item/DeviceManagementConfigurationPolicyAssignmentItemRequestBuilder.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}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignments/{deviceManagementConfigurationPolicyAssignment%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 DeviceManagementConfigurationPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/assignments/{deviceManagementConfigurationPolicyAssignment%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/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/SettingsRequestBuilder.java index 8b3ab74f313..ffed9658b87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/settings", 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/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java index 60e3aad75d8..b19dda6c260 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/settings/item/DeviceManagementConfigurationSettingItemRequestBuilder.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}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/settings/{deviceManagementConfigurationSetting%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 DeviceManagementConfigurationSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/settings/{deviceManagementConfigurationSetting%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/devicemanagement/reusablesettings/ReusableSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablesettings/ReusableSettingsRequestBuilder.java index 1e8e066123c..9c8a3cba45c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablesettings/ReusableSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablesettings/ReusableSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/reusableSettings", 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/devicemanagement/reusablesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java index 941e717c1d1..2dabef13b2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablesettings/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.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}/deviceManagement/reusableSettings/{deviceManagementConfigurationSettingDefinition%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 DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/reusableSettings/{deviceManagementConfigurationSettingDefinition%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/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java index d3af96441ae..3ce27fbeee8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceAndAppManagementRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/roleAssignments", 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/devicemanagement/roleassignments/item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roleassignments/item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.java index f71658a58d0..b19f00b6bf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roleassignments/item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roleassignments/item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.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}/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignment%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 DeviceAndAppManagementRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/roleAssignments/{deviceAndAppManagementRoleAssignment%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/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java index 2201b9bfbf3..8e9f66b4643 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/roleDefinitions", 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/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java index a2a4e0d09c6..e7cce3a5211 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/RoleDefinitionItemRequestBuilder.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}/deviceManagement/roleDefinitions/{roleDefinition%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 RoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%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/devicemanagement/roledefinitions/item/roleassignments/RoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/roleassignments/RoleAssignmentsRequestBuilder.java index 446cdd86a19..3c561bd9eaa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/roleassignments/RoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/roleassignments/RoleAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}/roleAssignments", 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/devicemanagement/roledefinitions/item/roleassignments/item/RoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/roleassignments/item/RoleAssignmentItemRequestBuilder.java index 367aca92a79..79dd5f31957 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/roleassignments/item/RoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/roledefinitions/item/roleassignments/item/RoleAssignmentItemRequestBuilder.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}/deviceManagement/roleDefinitions/{roleDefinition%2Did}/roleAssignments/{roleAssignment%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 RoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}/roleAssignments/{roleAssignment%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/devicemanagement/rolescopetags/RoleScopeTagsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/RoleScopeTagsRequestBuilder.java index 9ef22ad80b6..bacda62abaa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/RoleScopeTagsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/RoleScopeTagsRequestBuilder.java @@ -162,7 +162,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RoleScopeTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/roleScopeTags", 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/devicemanagement/rolescopetags/item/RoleScopeTagItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/RoleScopeTagItemRequestBuilder.java index c3322406896..7247eb50191 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/RoleScopeTagItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/RoleScopeTagItemRequestBuilder.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}/deviceManagement/roleScopeTags/{roleScopeTag%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 RoleScopeTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/roleScopeTags/{roleScopeTag%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/devicemanagement/rolescopetags/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/assignments/AssignmentsRequestBuilder.java index d027d82fdf9..5c9588e89fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RoleScopeTagAutoAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/roleScopeTags/{roleScopeTag%2Did}/assignments", 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/devicemanagement/rolescopetags/item/assignments/item/RoleScopeTagAutoAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/assignments/item/RoleScopeTagAutoAssignmentItemRequestBuilder.java index f1449bd9ee2..3769563e1d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/assignments/item/RoleScopeTagAutoAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/rolescopetags/item/assignments/item/RoleScopeTagAutoAssignmentItemRequestBuilder.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}/deviceManagement/roleScopeTags/{roleScopeTag%2Did}/assignments/{roleScopeTagAutoAssignment%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 RoleScopeTagAutoAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/roleScopeTags/{roleScopeTag%2Did}/assignments/{roleScopeTagAutoAssignment%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/devicemanagement/servicenowconnections/ServiceNowConnectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/servicenowconnections/ServiceNowConnectionsRequestBuilder.java index e38836b5253..8bff757cded 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/servicenowconnections/ServiceNowConnectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/servicenowconnections/ServiceNowConnectionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServiceNowConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/serviceNowConnections", 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/devicemanagement/servicenowconnections/item/ServiceNowConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/servicenowconnections/item/ServiceNowConnectionItemRequestBuilder.java index 7d1c2c0d70d..63f135f5aad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/servicenowconnections/item/ServiceNowConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/servicenowconnections/item/ServiceNowConnectionItemRequestBuilder.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}/deviceManagement/serviceNowConnections/{serviceNowConnection%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 ServiceNowConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/serviceNowConnections/{serviceNowConnection%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/devicemanagement/settingdefinitions/SettingDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/settingdefinitions/SettingDefinitionsRequestBuilder.java index 25dbad08a72..fe811ffadce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/settingdefinitions/SettingDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/settingdefinitions/SettingDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/settingDefinitions", 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/devicemanagement/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java index cfb91a93aa4..f2ea6454947 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.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}/deviceManagement/settingDefinitions/{deviceManagementSettingDefinition%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 DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/settingDefinitions/{deviceManagementSettingDefinition%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/devicemanagement/telecomexpensemanagementpartners/TelecomExpenseManagementPartnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/telecomexpensemanagementpartners/TelecomExpenseManagementPartnersRequestBuilder.java index c1729b2118a..c831544a043 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/telecomexpensemanagementpartners/TelecomExpenseManagementPartnersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/telecomexpensemanagementpartners/TelecomExpenseManagementPartnersRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TelecomExpenseManagementPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/telecomExpenseManagementPartners", 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/devicemanagement/telecomexpensemanagementpartners/item/TelecomExpenseManagementPartnerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/telecomexpensemanagementpartners/item/TelecomExpenseManagementPartnerItemRequestBuilder.java index 1bd6c0ce321..1e7953d4f77 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/telecomexpensemanagementpartners/item/TelecomExpenseManagementPartnerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/telecomexpensemanagementpartners/item/TelecomExpenseManagementPartnerItemRequestBuilder.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}/deviceManagement/telecomExpenseManagementPartners/{telecomExpenseManagementPartner%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 TelecomExpenseManagementPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/telecomExpenseManagementPartners/{telecomExpenseManagementPartner%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/devicemanagement/templateinsights/TemplateInsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templateinsights/TemplateInsightsRequestBuilder.java index 7d35ded244c..6e9b49859ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templateinsights/TemplateInsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templateinsights/TemplateInsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementTemplateInsightsDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templateInsights", 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/devicemanagement/templateinsights/item/DeviceManagementTemplateInsightsDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templateinsights/item/DeviceManagementTemplateInsightsDefinitionItemRequestBuilder.java index 64a6c39a4ae..dbb328d2223 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templateinsights/item/DeviceManagementTemplateInsightsDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templateinsights/item/DeviceManagementTemplateInsightsDefinitionItemRequestBuilder.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}/deviceManagement/templateInsights/{deviceManagementTemplateInsightsDefinition%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 DeviceManagementTemplateInsightsDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templateInsights/{deviceManagementTemplateInsightsDefinition%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/devicemanagement/templates/TemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/TemplatesRequestBuilder.java index 204a3e1db6e..e429a8c4dd3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/TemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/TemplatesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates", 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/devicemanagement/templates/item/DeviceManagementTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/DeviceManagementTemplateItemRequestBuilder.java index 92066abd808..627aa5eb78f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/DeviceManagementTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/DeviceManagementTemplateItemRequestBuilder.java @@ -163,7 +163,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}/deviceManagement/templates/{deviceManagementTemplate%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%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/devicemanagement/templates/item/categories/CategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/CategoriesRequestBuilder.java index 1aa95c745b8..877c4b92dab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/CategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/CategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementTemplateSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories", 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/devicemanagement/templates/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.java index 86e205daf7a..ad92bbd0b2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%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 DeviceManagementTemplateSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%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/devicemanagement/templates/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java index aae957956fc..8ab1bb4d7d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%2Did}/recommendedSettings", 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/devicemanagement/templates/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.java index 440008172c6..70b5eb7b240 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%2Did}/recommendedSettings/{deviceManagementSettingInstance%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 DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%2Did}/recommendedSettings/{deviceManagementSettingInstance%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/devicemanagement/templates/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java index 020f9c87d7f..4987efd8d4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%2Did}/settingDefinitions", 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/devicemanagement/templates/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java index d82d4721150..daefc6f100c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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 DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/categories/{deviceManagementTemplateSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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/devicemanagement/templates/item/migratableto/MigratableToRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/MigratableToRequestBuilder.java index 0c0ebcf1cb5..b134f085401 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/MigratableToRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/MigratableToRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo", 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/devicemanagement/templates/item/migratableto/item/DeviceManagementTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/DeviceManagementTemplateItemRequestBuilder.java index d1567697c98..aa45af5226a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/DeviceManagementTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/DeviceManagementTemplateItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}", 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 DeviceManagementTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/CategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/CategoriesRequestBuilder.java index 536c4cbb75f..0ce5cddd208 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/CategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/CategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementTemplateSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories", 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/devicemanagement/templates/item/migratableto/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.java index 9d9e1198814..6e0b8c9b118 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/DeviceManagementTemplateSettingCategoryItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%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 DeviceManagementTemplateSettingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%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/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java index 32046224051..8b374de976e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/RecommendedSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%2Did}/recommendedSettings", 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/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.java index 961dbe7fef4..ca23c87d7f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/recommendedsettings/item/DeviceManagementSettingInstanceItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%2Did}/recommendedSettings/{deviceManagementSettingInstance%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 DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%2Did}/recommendedSettings/{deviceManagementSettingInstance%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/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java index 05379a20deb..438ff6209ff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/SettingDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%2Did}/settingDefinitions", 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/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java index 61ebf84cf5c..1436d371319 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/categories/item/settingdefinitions/item/DeviceManagementSettingDefinitionItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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 DeviceManagementSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/categories/{deviceManagementTemplateSettingCategory%2Did}/settingDefinitions/{deviceManagementSettingDefinition%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/devicemanagement/templates/item/migratableto/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/settings/SettingsRequestBuilder.java index 43488693d4b..212acbaf3b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/settings", 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/devicemanagement/templates/item/migratableto/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java index 111fcda324f..4ed180eb379 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/migratableto/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/settings/{deviceManagementSettingInstance%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 DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/migratableTo/{deviceManagementTemplate%2Did1}/settings/{deviceManagementSettingInstance%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/devicemanagement/templates/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/settings/SettingsRequestBuilder.java index 34672ed9820..0370b0dd85b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/settings/SettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/settings", 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/devicemanagement/templates/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java index c2f733c6ed7..70ab03a4362 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templates/item/settings/item/DeviceManagementSettingInstanceItemRequestBuilder.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}/deviceManagement/templates/{deviceManagementTemplate%2Did}/settings/{deviceManagementSettingInstance%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 DeviceManagementSettingInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templates/{deviceManagementTemplate%2Did}/settings/{deviceManagementSettingInstance%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/devicemanagement/templatesettings/TemplateSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/TemplateSettingsRequestBuilder.java index 2a5c8362b7e..c0af6751bec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/TemplateSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/TemplateSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSettingTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templateSettings", 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/devicemanagement/templatesettings/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.java index 9ff7ea9cdf7..284ed041627 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/DeviceManagementConfigurationSettingTemplateItemRequestBuilder.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}/deviceManagement/templateSettings/{deviceManagementConfigurationSettingTemplate%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 DeviceManagementConfigurationSettingTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templateSettings/{deviceManagementConfigurationSettingTemplate%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/devicemanagement/templatesettings/item/settingdefinitions/SettingDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/settingdefinitions/SettingDefinitionsRequestBuilder.java index 7f2288a2309..92d0f9dd153 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/settingdefinitions/SettingDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/settingdefinitions/SettingDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/templateSettings/{deviceManagementConfigurationSettingTemplate%2Did}/settingDefinitions", 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/devicemanagement/templatesettings/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java index f62e299f470..200d4a60165 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/templatesettings/item/settingdefinitions/item/DeviceManagementConfigurationSettingDefinitionItemRequestBuilder.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}/deviceManagement/templateSettings/{deviceManagementConfigurationSettingTemplate%2Did}/settingDefinitions/{deviceManagementConfigurationSettingDefinition%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 DeviceManagementConfigurationSettingDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/templateSettings/{deviceManagementConfigurationSettingTemplate%2Did}/settingDefinitions/{deviceManagementConfigurationSettingDefinition%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/devicemanagement/tenantattachrbac/TenantAttachRBACRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/tenantattachrbac/TenantAttachRBACRequestBuilder.java index d00e78642c6..8385dae4a1c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/tenantattachrbac/TenantAttachRBACRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/tenantattachrbac/TenantAttachRBACRequestBuilder.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}/deviceManagement/tenantAttachRBAC", 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 TenantAttachRBAC body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/tenantAttachRBAC", 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/devicemanagement/termsandconditions/TermsAndConditionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/TermsAndConditionsRequestBuilder.java index f8dc6b23bfb..c263df80876 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/TermsAndConditionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/TermsAndConditionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TermsAndConditions body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/termsAndConditions", 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/devicemanagement/termsandconditions/item/TermsAndConditionsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/TermsAndConditionsItemRequestBuilder.java index 846f2e55da4..e2968062516 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/TermsAndConditionsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/TermsAndConditionsItemRequestBuilder.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}/deviceManagement/termsAndConditions/{termsAndConditions%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 TermsAndConditions body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%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/devicemanagement/termsandconditions/item/acceptancestatuses/AcceptanceStatusesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/acceptancestatuses/AcceptanceStatusesRequestBuilder.java index 8e86c875b92..e2d25455cb1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/acceptancestatuses/AcceptanceStatusesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/acceptancestatuses/AcceptanceStatusesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TermsAndConditionsAcceptanceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/acceptanceStatuses", 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/devicemanagement/termsandconditions/item/acceptancestatuses/item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/acceptancestatuses/item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.java index cc87fd3f707..9b38aa0a644 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/acceptancestatuses/item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/acceptancestatuses/item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.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}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/acceptanceStatuses/{termsAndConditionsAcceptanceStatus%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 TermsAndConditionsAcceptanceStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/acceptanceStatuses/{termsAndConditionsAcceptanceStatus%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/devicemanagement/termsandconditions/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/assignments/AssignmentsRequestBuilder.java index bf1e9930100..f65b6e46bf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TermsAndConditionsAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/assignments", 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/devicemanagement/termsandconditions/item/assignments/item/TermsAndConditionsAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/assignments/item/TermsAndConditionsAssignmentItemRequestBuilder.java index cab9fc604c9..8ba97f253e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/assignments/item/TermsAndConditionsAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/assignments/item/TermsAndConditionsAssignmentItemRequestBuilder.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}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/assignments/{termsAndConditionsAssignment%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 TermsAndConditionsAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/assignments/{termsAndConditionsAssignment%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/devicemanagement/termsandconditions/item/groupassignments/GroupAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/groupassignments/GroupAssignmentsRequestBuilder.java index 8e70a4076f8..45c7a9cf792 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/groupassignments/GroupAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/groupassignments/GroupAssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TermsAndConditionsGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/groupAssignments", 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/devicemanagement/termsandconditions/item/groupassignments/item/TermsAndConditionsGroupAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/groupassignments/item/TermsAndConditionsGroupAssignmentItemRequestBuilder.java index 1519e41dfe1..001ab45c5c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/groupassignments/item/TermsAndConditionsGroupAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/termsandconditions/item/groupassignments/item/TermsAndConditionsGroupAssignmentItemRequestBuilder.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}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/groupAssignments/{termsAndConditionsGroupAssignment%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 TermsAndConditionsGroupAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/termsAndConditions/{termsAndConditions%2Did}/groupAssignments/{termsAndConditionsGroupAssignment%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/devicemanagement/troubleshootingevents/TroubleshootingEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/troubleshootingevents/TroubleshootingEventsRequestBuilder.java index 57c19555b0c..cfdd1ee16ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/troubleshootingevents/TroubleshootingEventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/troubleshootingevents/TroubleshootingEventsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceManagementTroubleshootingEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/troubleshootingEvents", 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/devicemanagement/troubleshootingevents/item/DeviceManagementTroubleshootingEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/troubleshootingevents/item/DeviceManagementTroubleshootingEventItemRequestBuilder.java index ed33862d0de..44806494ffb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/troubleshootingevents/item/DeviceManagementTroubleshootingEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/troubleshootingevents/item/DeviceManagementTroubleshootingEventItemRequestBuilder.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}/deviceManagement/troubleshootingEvents/{deviceManagementTroubleshootingEvent%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 DeviceManagementTroubleshootingEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/troubleshootingEvents/{deviceManagementTroubleshootingEvent%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/devicemanagement/userexperienceanalyticsanomaly/UserExperienceAnalyticsAnomalyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomaly/UserExperienceAnalyticsAnomalyRequestBuilder.java index 624bd81ccdf..f3a42a3a294 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomaly/UserExperienceAnalyticsAnomalyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomaly/UserExperienceAnalyticsAnomalyRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAnomaly body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAnomaly", 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/devicemanagement/userexperienceanalyticsanomaly/item/UserExperienceAnalyticsAnomalyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomaly/item/UserExperienceAnalyticsAnomalyItemRequestBuilder.java index 8f2166a4d5a..b67f8627741 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomaly/item/UserExperienceAnalyticsAnomalyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomaly/item/UserExperienceAnalyticsAnomalyItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAnomaly/{userExperienceAnalyticsAnomaly%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 UserExperienceAnalyticsAnomaly body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAnomaly/{userExperienceAnalyticsAnomaly%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/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder.java index 8af733f0979..4c984ca19f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAnomalyCorrelationGroupOverview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAnomalyCorrelationGroupOverview", 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/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/item/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/item/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder.java index 143fd7f9e17..e1bba1c39a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/item/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalycorrelationgroupoverview/item/UserExperienceAnalyticsAnomalyCorrelationGroupOverviewItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAnomalyCorrelationGroupOverview/{userExperienceAnalyticsAnomalyCorrelationGroupOverview%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 UserExperienceAnalyticsAnomalyCorrelationGroupOverview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAnomalyCorrelationGroupOverview/{userExperienceAnalyticsAnomalyCorrelationGroupOverview%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/devicemanagement/userexperienceanalyticsanomalydevice/UserExperienceAnalyticsAnomalyDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalydevice/UserExperienceAnalyticsAnomalyDeviceRequestBuilder.java index 5e332a759e6..5fca0a7b240 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalydevice/UserExperienceAnalyticsAnomalyDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalydevice/UserExperienceAnalyticsAnomalyDeviceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAnomalyDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAnomalyDevice", 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/devicemanagement/userexperienceanalyticsanomalydevice/item/UserExperienceAnalyticsAnomalyDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalydevice/item/UserExperienceAnalyticsAnomalyDeviceItemRequestBuilder.java index 0621fc182a7..91307bd1cd4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalydevice/item/UserExperienceAnalyticsAnomalyDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsanomalydevice/item/UserExperienceAnalyticsAnomalyDeviceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAnomalyDevice/{userExperienceAnalyticsAnomalyDevice%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 UserExperienceAnalyticsAnomalyDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAnomalyDevice/{userExperienceAnalyticsAnomalyDevice%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/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.java index a8c10d03795..a786ed827c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthApplicationPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance", 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/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.java index f2818daffd8..9bf3df3f28f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformance/item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/{userExperienceAnalyticsAppHealthApplicationPerformance%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 UserExperienceAnalyticsAppHealthApplicationPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformance/{userExperienceAnalyticsAppHealthApplicationPerformance%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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder.java index c9ad617ec81..a6a27b8813f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion", 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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder.java index 367beb420c1..d91b2498522 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion/{userExperienceAnalyticsAppHealthAppPerformanceByAppVersion%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 UserExperienceAnalyticsAppHealthAppPerformanceByAppVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersion/{userExperienceAnalyticsAppHealthAppPerformanceByAppVersion%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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.java index 32c4f96ceb1..4955a149fb2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails", 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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.java index 411207b4c6e..30234318cb7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondetails/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/{userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails%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 UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/{userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails%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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.java index 5ace836913c..0c4ca80e5d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId", 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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.java index 1a7f9ef05e0..3357230b95d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyappversiondeviceid/item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/{userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId%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 UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/{userExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId%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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.java index 0837dba874a..da3643b6f5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion", 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/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.java index 06d30a65b1a..a635d27ce2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthapplicationperformancebyosversion/item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/{userExperienceAnalyticsAppHealthAppPerformanceByOSVersion%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 UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/{userExperienceAnalyticsAppHealthAppPerformanceByOSVersion%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/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.java index cd6364c538f..b88ea4ead42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthDeviceModelPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance", 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/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.java index 3f9b1bbbbf9..5f9ee6c8523 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdevicemodelperformance/item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/{userExperienceAnalyticsAppHealthDeviceModelPerformance%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 UserExperienceAnalyticsAppHealthDeviceModelPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthDeviceModelPerformance/{userExperienceAnalyticsAppHealthDeviceModelPerformance%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/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.java index c6a53025fd5..40b7eed5325 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthDevicePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance", 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/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.java index b3b50fa87d8..267d8a6c660 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformance/item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/{userExperienceAnalyticsAppHealthDevicePerformance%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 UserExperienceAnalyticsAppHealthDevicePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformance/{userExperienceAnalyticsAppHealthDevicePerformance%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/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.java index 62f1c24f122..4aa288a291f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthDevicePerformanceDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails", 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/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.java index aabe511f4b5..cd7f44e379f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthdeviceperformancedetails/item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/{userExperienceAnalyticsAppHealthDevicePerformanceDetails%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 UserExperienceAnalyticsAppHealthDevicePerformanceDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthDevicePerformanceDetails/{userExperienceAnalyticsAppHealthDevicePerformanceDetails%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/devicemanagement/userexperienceanalyticsapphealthosversionperformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthosversionperformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.java index 7300f006616..d215c56b364 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthosversionperformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthosversionperformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsAppHealthOSVersionPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance", 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/devicemanagement/userexperienceanalyticsapphealthosversionperformance/item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthosversionperformance/item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.java index 723d0ba84fc..356f55b9f95 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthosversionperformance/item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthosversionperformance/item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/{userExperienceAnalyticsAppHealthOSVersionPerformance%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 UserExperienceAnalyticsAppHealthOSVersionPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthOSVersionPerformance/{userExperienceAnalyticsAppHealthOSVersionPerformance%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/devicemanagement/userexperienceanalyticsapphealthoverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.java index 021d77eb8de..619c460aea8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthOverview", 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 UserExperienceAnalyticsCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthOverview", 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/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/MetricValuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/MetricValuesRequestBuilder.java index 6fba30e46f1..a4cb503aa67 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/MetricValuesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/MetricValuesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsMetric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues", 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/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.java index 35efd09c995..5cbbeeeb373 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsapphealthoverview/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/{userExperienceAnalyticsMetric%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 UserExperienceAnalyticsMetric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsAppHealthOverview/metricValues/{userExperienceAnalyticsMetric%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/devicemanagement/userexperienceanalyticsbaselines/UserExperienceAnalyticsBaselinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbaselines/UserExperienceAnalyticsBaselinesRequestBuilder.java index b50b69803a9..c6471ee62dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbaselines/UserExperienceAnalyticsBaselinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbaselines/UserExperienceAnalyticsBaselinesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsBaselines", 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/devicemanagement/userexperienceanalyticsbaselines/item/UserExperienceAnalyticsBaselineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbaselines/item/UserExperienceAnalyticsBaselineItemRequestBuilder.java index fa0d8414849..eb554f27b8e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbaselines/item/UserExperienceAnalyticsBaselineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbaselines/item/UserExperienceAnalyticsBaselineItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBaselines/{userExperienceAnalyticsBaseline%2Did}", 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 UserExperienceAnalyticsBaseline body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBaselines/{userExperienceAnalyticsBaseline%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/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder.java index a41617ace7f..75a20692b68 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/UserExperienceAnalyticsBatteryHealthAppImpactRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsBatteryHealthAppImpact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthAppImpact", 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/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/item/UserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/item/UserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder.java index 0b7efa6b54c..92b77caf1d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/item/UserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthappimpact/item/UserExperienceAnalyticsBatteryHealthAppImpactItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthAppImpact/{userExperienceAnalyticsBatteryHealthAppImpact%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 UserExperienceAnalyticsBatteryHealthAppImpact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthAppImpact/{userExperienceAnalyticsBatteryHealthAppImpact%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/devicemanagement/userexperienceanalyticsbatteryhealthcapacitydetails/UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthcapacitydetails/UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder.java index 77d656dc7bb..94dd0fa5ddb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthcapacitydetails/UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthcapacitydetails/UserExperienceAnalyticsBatteryHealthCapacityDetailsRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthCapacityDetails", 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 UserExperienceAnalyticsBatteryHealthCapacityDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthCapacityDetails", 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/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder.java index 0b958843858..6973747931e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/UserExperienceAnalyticsBatteryHealthDeviceAppImpactRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsBatteryHealthDeviceAppImpact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthDeviceAppImpact", 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/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/item/UserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/item/UserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder.java index 17f352497b6..6f88a7a87a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/item/UserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceappimpact/item/UserExperienceAnalyticsBatteryHealthDeviceAppImpactItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthDeviceAppImpact/{userExperienceAnalyticsBatteryHealthDeviceAppImpact%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 UserExperienceAnalyticsBatteryHealthDeviceAppImpact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthDeviceAppImpact/{userExperienceAnalyticsBatteryHealthDeviceAppImpact%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/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder.java index be06c6a4a62..21d32f7042d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/UserExperienceAnalyticsBatteryHealthDevicePerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsBatteryHealthDevicePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthDevicePerformance", 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/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/item/UserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/item/UserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder.java index dde75ccc547..064b4c41ae7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/item/UserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceperformance/item/UserExperienceAnalyticsBatteryHealthDevicePerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthDevicePerformance/{userExperienceAnalyticsBatteryHealthDevicePerformance%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 UserExperienceAnalyticsBatteryHealthDevicePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthDevicePerformance/{userExperienceAnalyticsBatteryHealthDevicePerformance%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/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder.java index 1e5d28861f0..65ee5f895ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory", 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/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/item/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/item/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder.java index 3b35d389664..a24a9c71ca8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/item/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthdeviceruntimehistory/item/UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistoryItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory/{userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory%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 UserExperienceAnalyticsBatteryHealthDeviceRuntimeHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory/{userExperienceAnalyticsBatteryHealthDeviceRuntimeHistory%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/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder.java index d05db20b3b8..e813e3dc4cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/UserExperienceAnalyticsBatteryHealthModelPerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsBatteryHealthModelPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthModelPerformance", 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/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/item/UserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/item/UserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder.java index ffca5d7775a..b3f177b84da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/item/UserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthmodelperformance/item/UserExperienceAnalyticsBatteryHealthModelPerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthModelPerformance/{userExperienceAnalyticsBatteryHealthModelPerformance%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 UserExperienceAnalyticsBatteryHealthModelPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthModelPerformance/{userExperienceAnalyticsBatteryHealthModelPerformance%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/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder.java index bd5a2f159f9..54b5b7f194f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/UserExperienceAnalyticsBatteryHealthOsPerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsBatteryHealthOsPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthOsPerformance", 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/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/item/UserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/item/UserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder.java index 65691d32076..3d879f062c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/item/UserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthosperformance/item/UserExperienceAnalyticsBatteryHealthOsPerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthOsPerformance/{userExperienceAnalyticsBatteryHealthOsPerformance%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 UserExperienceAnalyticsBatteryHealthOsPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthOsPerformance/{userExperienceAnalyticsBatteryHealthOsPerformance%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/devicemanagement/userexperienceanalyticsbatteryhealthruntimedetails/UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthruntimedetails/UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder.java index 749572fcc1e..83af619ec81 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthruntimedetails/UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsbatteryhealthruntimedetails/UserExperienceAnalyticsBatteryHealthRuntimeDetailsRequestBuilder.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}/deviceManagement/userExperienceAnalyticsBatteryHealthRuntimeDetails", 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 UserExperienceAnalyticsBatteryHealthRuntimeDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsBatteryHealthRuntimeDetails", 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/devicemanagement/userexperienceanalyticscategories/UserExperienceAnalyticsCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/UserExperienceAnalyticsCategoriesRequestBuilder.java index 5137b07a385..5a909ec4f5c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/UserExperienceAnalyticsCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/UserExperienceAnalyticsCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsCategories", 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/devicemanagement/userexperienceanalyticscategories/item/UserExperienceAnalyticsCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/UserExperienceAnalyticsCategoryItemRequestBuilder.java index 41dffc97267..753ddf2d4a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/UserExperienceAnalyticsCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/UserExperienceAnalyticsCategoryItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsCategories/{userExperienceAnalyticsCategory%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 UserExperienceAnalyticsCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsCategories/{userExperienceAnalyticsCategory%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/devicemanagement/userexperienceanalyticscategories/item/metricvalues/MetricValuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/metricvalues/MetricValuesRequestBuilder.java index 11b0e03ada1..b82e84a336c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/metricvalues/MetricValuesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/metricvalues/MetricValuesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsMetric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsCategories/{userExperienceAnalyticsCategory%2Did}/metricValues", 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/devicemanagement/userexperienceanalyticscategories/item/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.java index 07106f3e0f3..1e014f6cb7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticscategories/item/metricvalues/item/UserExperienceAnalyticsMetricItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsCategories/{userExperienceAnalyticsCategory%2Did}/metricValues/{userExperienceAnalyticsMetric%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 UserExperienceAnalyticsMetric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsCategories/{userExperienceAnalyticsCategory%2Did}/metricValues/{userExperienceAnalyticsMetric%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/devicemanagement/userexperienceanalyticsdevicemetrichistory/UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicemetrichistory/UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder.java index 79515d0c281..d629fc8987d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicemetrichistory/UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicemetrichistory/UserExperienceAnalyticsDeviceMetricHistoryRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsMetricHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceMetricHistory", 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/devicemanagement/userexperienceanalyticsdevicemetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicemetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.java index dd3a622260e..9687a685589 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicemetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicemetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceMetricHistory/{userExperienceAnalyticsMetricHistory%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 UserExperienceAnalyticsMetricHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceMetricHistory/{userExperienceAnalyticsMetricHistory%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/devicemanagement/userexperienceanalyticsdeviceperformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceperformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.java index 83862a43634..c24a9664edb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceperformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceperformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDevicePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDevicePerformance", 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/devicemanagement/userexperienceanalyticsdeviceperformance/item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceperformance/item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.java index 3fa7c6a13fc..a2a2668002d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceperformance/item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceperformance/item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDevicePerformance/{userExperienceAnalyticsDevicePerformance%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 UserExperienceAnalyticsDevicePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDevicePerformance/{userExperienceAnalyticsDevicePerformance%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/devicemanagement/userexperienceanalyticsdevicescope/UserExperienceAnalyticsDeviceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescope/UserExperienceAnalyticsDeviceScopeRequestBuilder.java index 5314e357b4e..e847273760e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescope/UserExperienceAnalyticsDeviceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescope/UserExperienceAnalyticsDeviceScopeRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceScope", 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 UserExperienceAnalyticsDeviceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceScope", 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/devicemanagement/userexperienceanalyticsdevicescopes/UserExperienceAnalyticsDeviceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescopes/UserExperienceAnalyticsDeviceScopesRequestBuilder.java index 8d48c995a9a..707aed7036a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescopes/UserExperienceAnalyticsDeviceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescopes/UserExperienceAnalyticsDeviceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDeviceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceScopes", 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/devicemanagement/userexperienceanalyticsdevicescopes/item/UserExperienceAnalyticsDeviceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescopes/item/UserExperienceAnalyticsDeviceScopeItemRequestBuilder.java index 1f6b38f22b2..f2b95ec4831 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescopes/item/UserExperienceAnalyticsDeviceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescopes/item/UserExperienceAnalyticsDeviceScopeItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceScopes/{userExperienceAnalyticsDeviceScope%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 UserExperienceAnalyticsDeviceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceScopes/{userExperienceAnalyticsDeviceScope%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/devicemanagement/userexperienceanalyticsdevicescores/UserExperienceAnalyticsDeviceScoresRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescores/UserExperienceAnalyticsDeviceScoresRequestBuilder.java index 46e2654099a..2c914a94f46 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescores/UserExperienceAnalyticsDeviceScoresRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescores/UserExperienceAnalyticsDeviceScoresRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDeviceScores body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceScores", 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/devicemanagement/userexperienceanalyticsdevicescores/item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescores/item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.java index 986f25acb7b..5dcfd0dc287 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescores/item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicescores/item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceScores/{userExperienceAnalyticsDeviceScores%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 UserExperienceAnalyticsDeviceScores body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceScores/{userExperienceAnalyticsDeviceScores%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/devicemanagement/userexperienceanalyticsdevicestartuphistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartuphistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.java index bf8819ddb32..2eb783cfb4c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartuphistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartuphistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDeviceStartupHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupHistory", 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/devicemanagement/userexperienceanalyticsdevicestartuphistory/item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartuphistory/item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.java index e8d1c0d9724..6238a5320ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartuphistory/item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartuphistory/item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/{userExperienceAnalyticsDeviceStartupHistory%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 UserExperienceAnalyticsDeviceStartupHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupHistory/{userExperienceAnalyticsDeviceStartupHistory%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/devicemanagement/userexperienceanalyticsdevicestartupprocesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.java index 72d29e10eeb..4512f3f56ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDeviceStartupProcess body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses", 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/devicemanagement/userexperienceanalyticsdevicestartupprocesses/item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocesses/item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.java index 7b1901e8fe0..2cc361bdfda 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocesses/item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocesses/item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/{userExperienceAnalyticsDeviceStartupProcess%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 UserExperienceAnalyticsDeviceStartupProcess body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcesses/{userExperienceAnalyticsDeviceStartupProcess%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/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.java index 74f2ba69c0b..140b08bb322 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDeviceStartupProcessPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance", 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/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.java index 8daa58c72cd..e9d33d4955f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicestartupprocessperformance/item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/{userExperienceAnalyticsDeviceStartupProcessPerformance%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 UserExperienceAnalyticsDeviceStartupProcessPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/{userExperienceAnalyticsDeviceStartupProcessPerformance%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/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder.java index 69c0c620360..9ed5616d5d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/UserExperienceAnalyticsDevicesWithoutCloudIdentityRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDeviceWithoutCloudIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDevicesWithoutCloudIdentity", 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/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/item/UserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/item/UserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder.java index 7754a5baffa..24fc295abef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/item/UserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdeviceswithoutcloudidentity/item/UserExperienceAnalyticsDeviceWithoutCloudIdentityItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDevicesWithoutCloudIdentity/{userExperienceAnalyticsDeviceWithoutCloudIdentity%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 UserExperienceAnalyticsDeviceWithoutCloudIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDevicesWithoutCloudIdentity/{userExperienceAnalyticsDeviceWithoutCloudIdentity%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/devicemanagement/userexperienceanalyticsdevicetimelineevent/UserExperienceAnalyticsDeviceTimelineEventRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicetimelineevent/UserExperienceAnalyticsDeviceTimelineEventRequestBuilder.java index 07c35265f35..a076fd9a79c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicetimelineevent/UserExperienceAnalyticsDeviceTimelineEventRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicetimelineevent/UserExperienceAnalyticsDeviceTimelineEventRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsDeviceTimelineEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceTimelineEvent", 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/devicemanagement/userexperienceanalyticsdevicetimelineevent/item/UserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicetimelineevent/item/UserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder.java index f280ef67656..7f441ced938 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicetimelineevent/item/UserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsdevicetimelineevent/item/UserExperienceAnalyticsDeviceTimelineEventItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsDeviceTimelineEvent/{userExperienceAnalyticsDeviceTimelineEvent%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 UserExperienceAnalyticsDeviceTimelineEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceTimelineEvent/{userExperienceAnalyticsDeviceTimelineEvent%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/devicemanagement/userexperienceanalyticsimpactingprocess/UserExperienceAnalyticsImpactingProcessRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsimpactingprocess/UserExperienceAnalyticsImpactingProcessRequestBuilder.java index 36ec220c5bb..208c9d5803b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsimpactingprocess/UserExperienceAnalyticsImpactingProcessRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsimpactingprocess/UserExperienceAnalyticsImpactingProcessRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsImpactingProcess body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsImpactingProcess", 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/devicemanagement/userexperienceanalyticsimpactingprocess/item/UserExperienceAnalyticsImpactingProcessItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsimpactingprocess/item/UserExperienceAnalyticsImpactingProcessItemRequestBuilder.java index 1099e8e0131..b675d6f853e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsimpactingprocess/item/UserExperienceAnalyticsImpactingProcessItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsimpactingprocess/item/UserExperienceAnalyticsImpactingProcessItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsImpactingProcess/{userExperienceAnalyticsImpactingProcess%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 UserExperienceAnalyticsImpactingProcess body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsImpactingProcess/{userExperienceAnalyticsImpactingProcess%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/devicemanagement/userexperienceanalyticsmetrichistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmetrichistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.java index 92f583f59dc..d57fda1c4ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmetrichistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmetrichistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsMetricHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsMetricHistory", 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/devicemanagement/userexperienceanalyticsmetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.java index 734ebe75716..c33bc434e6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmetrichistory/item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsMetricHistory/{userExperienceAnalyticsMetricHistory%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 UserExperienceAnalyticsMetricHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsMetricHistory/{userExperienceAnalyticsMetricHistory%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/devicemanagement/userexperienceanalyticsmodelscores/UserExperienceAnalyticsModelScoresRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmodelscores/UserExperienceAnalyticsModelScoresRequestBuilder.java index c97f0be4f58..44b2c72a502 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmodelscores/UserExperienceAnalyticsModelScoresRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmodelscores/UserExperienceAnalyticsModelScoresRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsModelScores body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsModelScores", 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/devicemanagement/userexperienceanalyticsmodelscores/item/UserExperienceAnalyticsModelScoresItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmodelscores/item/UserExperienceAnalyticsModelScoresItemRequestBuilder.java index e85b659de29..a46b7d2a4b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmodelscores/item/UserExperienceAnalyticsModelScoresItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsmodelscores/item/UserExperienceAnalyticsModelScoresItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsModelScores/{userExperienceAnalyticsModelScores%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 UserExperienceAnalyticsModelScores body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsModelScores/{userExperienceAnalyticsModelScores%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/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder.java index afef997f2df..0d0d781e6ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/UserExperienceAnalyticsNotAutopilotReadyDeviceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsNotAutopilotReadyDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsNotAutopilotReadyDevice", 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/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/item/UserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/item/UserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder.java index c9c04b4589c..d7841f41fd6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/item/UserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsnotautopilotreadydevice/item/UserExperienceAnalyticsNotAutopilotReadyDeviceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsNotAutopilotReadyDevice/{userExperienceAnalyticsNotAutopilotReadyDevice%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 UserExperienceAnalyticsNotAutopilotReadyDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsNotAutopilotReadyDevice/{userExperienceAnalyticsNotAutopilotReadyDevice%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/devicemanagement/userexperienceanalyticsoverview/UserExperienceAnalyticsOverviewRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsoverview/UserExperienceAnalyticsOverviewRequestBuilder.java index b5f310bee2b..2ba0544fd40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsoverview/UserExperienceAnalyticsOverviewRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsoverview/UserExperienceAnalyticsOverviewRequestBuilder.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}/deviceManagement/userExperienceAnalyticsOverview", 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 UserExperienceAnalyticsOverview body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsOverview", 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/devicemanagement/userexperienceanalyticsremoteconnection/UserExperienceAnalyticsRemoteConnectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsremoteconnection/UserExperienceAnalyticsRemoteConnectionRequestBuilder.java index 5b6356d687b..0b4d2b90862 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsremoteconnection/UserExperienceAnalyticsRemoteConnectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsremoteconnection/UserExperienceAnalyticsRemoteConnectionRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsRemoteConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsRemoteConnection", 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/devicemanagement/userexperienceanalyticsremoteconnection/item/UserExperienceAnalyticsRemoteConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsremoteconnection/item/UserExperienceAnalyticsRemoteConnectionItemRequestBuilder.java index bbb09792d7e..3d7e4d29c06 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsremoteconnection/item/UserExperienceAnalyticsRemoteConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsremoteconnection/item/UserExperienceAnalyticsRemoteConnectionItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsRemoteConnection/{userExperienceAnalyticsRemoteConnection%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 UserExperienceAnalyticsRemoteConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsRemoteConnection/{userExperienceAnalyticsRemoteConnection%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/devicemanagement/userexperienceanalyticsresourceperformance/UserExperienceAnalyticsResourcePerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsresourceperformance/UserExperienceAnalyticsResourcePerformanceRequestBuilder.java index cd38151d34e..c7082d592c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsresourceperformance/UserExperienceAnalyticsResourcePerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsresourceperformance/UserExperienceAnalyticsResourcePerformanceRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsResourcePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsResourcePerformance", 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/devicemanagement/userexperienceanalyticsresourceperformance/item/UserExperienceAnalyticsResourcePerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsresourceperformance/item/UserExperienceAnalyticsResourcePerformanceItemRequestBuilder.java index b6c9c4b15aa..018893900d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsresourceperformance/item/UserExperienceAnalyticsResourcePerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsresourceperformance/item/UserExperienceAnalyticsResourcePerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsResourcePerformance/{userExperienceAnalyticsResourcePerformance%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 UserExperienceAnalyticsResourcePerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsResourcePerformance/{userExperienceAnalyticsResourcePerformance%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/devicemanagement/userexperienceanalyticsscorehistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsscorehistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.java index 0c7ecdf94b4..bfb8b7cec69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsscorehistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsscorehistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsScoreHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsScoreHistory", 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/devicemanagement/userexperienceanalyticsscorehistory/item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsscorehistory/item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.java index 5c2b8c71add..1837e2a694d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsscorehistory/item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsscorehistory/item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsScoreHistory/{userExperienceAnalyticsScoreHistory%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 UserExperienceAnalyticsScoreHistory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsScoreHistory/{userExperienceAnalyticsScoreHistory%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/devicemanagement/userexperienceanalyticsworkfromanywherehardwarereadinessmetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywherehardwarereadinessmetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.java index 2088512efc3..f24f957b424 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywherehardwarereadinessmetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywherehardwarereadinessmetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.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}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", 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 UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric", 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/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.java index 81360d0946c..4cb75e92877 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsWorkFromAnywhereMetric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics", 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/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.java index 6aebce64657..d9421b69326 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/{userExperienceAnalyticsWorkFromAnywhereMetric%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 UserExperienceAnalyticsWorkFromAnywhereMetric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/{userExperienceAnalyticsWorkFromAnywhereMetric%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/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/MetricDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/MetricDevicesRequestBuilder.java index c9caf736901..55beceaf2d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/MetricDevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/MetricDevicesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsWorkFromAnywhereDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/{userExperienceAnalyticsWorkFromAnywhereMetric%2Did}/metricDevices", 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/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.java index 2d2fc3c4bee..38b6138f517 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremetrics/item/metricdevices/item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/{userExperienceAnalyticsWorkFromAnywhereMetric%2Did}/metricDevices/{userExperienceAnalyticsWorkFromAnywhereDevice%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 UserExperienceAnalyticsWorkFromAnywhereDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereMetrics/{userExperienceAnalyticsWorkFromAnywhereMetric%2Did}/metricDevices/{userExperienceAnalyticsWorkFromAnywhereDevice%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/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.java index 92c53ebc29d..e0a383965e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserExperienceAnalyticsWorkFromAnywhereModelPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance", 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/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.java index d5d06d15347..5ac4901da2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userexperienceanalyticsworkfromanywheremodelperformance/item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.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}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/{userExperienceAnalyticsWorkFromAnywhereModelPerformance%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 UserExperienceAnalyticsWorkFromAnywhereModelPerformance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userExperienceAnalyticsWorkFromAnywhereModelPerformance/{userExperienceAnalyticsWorkFromAnywhereModelPerformance%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/devicemanagement/userpfxcertificates/UserPfxCertificatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userpfxcertificates/UserPfxCertificatesRequestBuilder.java index 48dc2a9c456..c72c6c0a833 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userpfxcertificates/UserPfxCertificatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userpfxcertificates/UserPfxCertificatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserPFXCertificate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/userPfxCertificates", 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/devicemanagement/userpfxcertificates/item/UserPFXCertificateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userpfxcertificates/item/UserPFXCertificateItemRequestBuilder.java index ffd3374f7a7..821195a7e84 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userpfxcertificates/item/UserPFXCertificateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/userpfxcertificates/item/UserPFXCertificateItemRequestBuilder.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}/deviceManagement/userPfxCertificates/{userPFXCertificate%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 UserPFXCertificate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/userPfxCertificates/{userPFXCertificate%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/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java index 57ea1b36e67..46e19434598 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.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}/deviceManagement/virtualEndpoint", 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 VirtualEndpoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint", 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/devicemanagement/virtualendpoint/auditevents/AuditEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/auditevents/AuditEventsRequestBuilder.java index e84ed90945c..0b09ad8a136 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/auditevents/AuditEventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/auditevents/AuditEventsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcAuditEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents", 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/devicemanagement/virtualendpoint/auditevents/item/CloudPcAuditEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/auditevents/item/CloudPcAuditEventItemRequestBuilder.java index 0a33f4fbfc7..72903de2cbe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/auditevents/item/CloudPcAuditEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/auditevents/item/CloudPcAuditEventItemRequestBuilder.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}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%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 CloudPcAuditEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%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/devicemanagement/virtualendpoint/bulkactions/BulkActionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/bulkactions/BulkActionsRequestBuilder.java index da88d314386..30c48db4ffe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/bulkactions/BulkActionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/bulkactions/BulkActionsRequestBuilder.java @@ -60,19 +60,21 @@ public BulkActionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/bulkActions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get bulkActions from deviceManagement + * Get a list of the cloudPcBulkAction objects and their properties. * @return a {@link CloudPcBulkActionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public CloudPcBulkActionCollectionResponse get() { return get(null); } /** - * Get bulkActions from deviceManagement + * Get a list of the cloudPcBulkAction objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcBulkActionCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public CloudPcBulkActionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -82,21 +84,23 @@ public CloudPcBulkActionCollectionResponse get(@jakarta.annotation.Nullable fina return this.requestAdapter.send(requestInfo, errorMapping, CloudPcBulkActionCollectionResponse::createFromDiscriminatorValue); } /** - * Create new navigation property to bulkActions for deviceManagement + * Create a new cloudPcBulkAction object. * @param body The request body * @return a {@link CloudPcBulkAction} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public CloudPcBulkAction post(@jakarta.annotation.Nonnull final CloudPcBulkAction body) { return post(body, null); } /** - * Create new navigation property to bulkActions for deviceManagement + * Create a new cloudPcBulkAction object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcBulkAction} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public CloudPcBulkAction post(@jakarta.annotation.Nonnull final CloudPcBulkAction body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +111,7 @@ public CloudPcBulkAction post(@jakarta.annotation.Nonnull final CloudPcBulkActio return this.requestAdapter.send(requestInfo, errorMapping, CloudPcBulkAction::createFromDiscriminatorValue); } /** - * Get bulkActions from deviceManagement + * Get a list of the cloudPcBulkAction objects and their properties. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get bulkActions from deviceManagement + * Get a list of the cloudPcBulkAction objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create new navigation property to bulkActions for deviceManagement + * Create a new cloudPcBulkAction object. * @param body The request body * @return a {@link RequestInformation} */ @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create new navigation property to bulkActions for deviceManagement + * Create a new cloudPcBulkAction object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -144,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcBulkAction body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/bulkActions", 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 +165,7 @@ public BulkActionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin return new BulkActionsRequestBuilder(rawUrl, requestAdapter); } /** - * Get bulkActions from deviceManagement + * Get a list of the cloudPcBulkAction objects and their properties. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/bulkactions/item/CloudPcBulkActionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/bulkactions/item/CloudPcBulkActionItemRequestBuilder.java index e82a8c13130..e86502cd35f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/bulkactions/item/CloudPcBulkActionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/bulkactions/item/CloudPcBulkActionItemRequestBuilder.java @@ -55,19 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get bulkActions from deviceManagement + * Read the properties and relationships of a cloudPcBulkAction object. * @return a {@link CloudPcBulkAction} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public CloudPcBulkAction get() { return get(null); } /** - * Get bulkActions from deviceManagement + * Read the properties and relationships of a cloudPcBulkAction object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcBulkAction} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public CloudPcBulkAction get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -116,13 +118,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}/deviceManagement/virtualEndpoint/bulkActions/{cloudPcBulkAction%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } /** - * Get bulkActions from deviceManagement + * Read the properties and relationships of a cloudPcBulkAction object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get bulkActions from deviceManagement + * Read the properties and relationships of a cloudPcBulkAction object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -159,7 +161,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcBulkAction body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/bulkActions/{cloudPcBulkAction%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); @@ -182,7 +184,7 @@ public CloudPcBulkActionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull f public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get bulkActions from deviceManagement + * Read the properties and relationships of a cloudPcBulkAction object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java index f93e10a9b83..52943d3bddd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java @@ -177,7 +177,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPC body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs", 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/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java index 1cf24838cca..0b14263fe76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java @@ -289,7 +289,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}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -332,7 +332,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPC body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%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/devicemanagement/virtualendpoint/crosscloudgovernmentorganizationmapping/CrossCloudGovernmentOrganizationMappingRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/crosscloudgovernmentorganizationmapping/CrossCloudGovernmentOrganizationMappingRequestBuilder.java index 41c98debd3d..b35b33975af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/crosscloudgovernmentorganizationmapping/CrossCloudGovernmentOrganizationMappingRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/crosscloudgovernmentorganizationmapping/CrossCloudGovernmentOrganizationMappingRequestBuilder.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}/deviceManagement/virtualEndpoint/crossCloudGovernmentOrganizationMapping", 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 CloudPcCrossCloudGovernmentOrganizationMapping body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/crossCloudGovernmentOrganizationMapping", 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/devicemanagement/virtualendpoint/deviceimages/DeviceImagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/DeviceImagesRequestBuilder.java index 28f2f86a4ef..4847a3e42dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/DeviceImagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/DeviceImagesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcDeviceImage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages", 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/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java index 3ec9f5fbfc9..6bb8ce8d44c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java @@ -129,7 +129,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}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcDeviceImage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%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/devicemanagement/virtualendpoint/externalpartnersettings/ExternalPartnerSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/externalpartnersettings/ExternalPartnerSettingsRequestBuilder.java index a7736e33e55..746a5c04613 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/externalpartnersettings/ExternalPartnerSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/externalpartnersettings/ExternalPartnerSettingsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcExternalPartnerSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartnerSettings", 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/devicemanagement/virtualendpoint/externalpartnersettings/item/CloudPcExternalPartnerSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/externalpartnersettings/item/CloudPcExternalPartnerSettingItemRequestBuilder.java index 4bf0ef71d93..61682883cab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/externalpartnersettings/item/CloudPcExternalPartnerSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/externalpartnersettings/item/CloudPcExternalPartnerSettingItemRequestBuilder.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}/deviceManagement/virtualEndpoint/externalPartnerSettings/{cloudPcExternalPartnerSetting%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 CloudPcExternalPartnerSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/externalPartnerSettings/{cloudPcExternalPartnerSetting%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/devicemanagement/virtualendpoint/frontlineserviceplans/FrontLineServicePlansRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/frontlineserviceplans/FrontLineServicePlansRequestBuilder.java index a7fd29cae42..c1d6c67f6bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/frontlineserviceplans/FrontLineServicePlansRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/frontlineserviceplans/FrontLineServicePlansRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcFrontLineServicePlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/frontLineServicePlans", 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/devicemanagement/virtualendpoint/frontlineserviceplans/item/CloudPcFrontLineServicePlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/frontlineserviceplans/item/CloudPcFrontLineServicePlanItemRequestBuilder.java index 746f6f09560..38ae709da40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/frontlineserviceplans/item/CloudPcFrontLineServicePlanItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/frontlineserviceplans/item/CloudPcFrontLineServicePlanItemRequestBuilder.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}/deviceManagement/virtualEndpoint/frontLineServicePlans/{cloudPcFrontLineServicePlan%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 CloudPcFrontLineServicePlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/frontLineServicePlans/{cloudPcFrontLineServicePlan%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/devicemanagement/virtualendpoint/galleryimages/GalleryImagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/galleryimages/GalleryImagesRequestBuilder.java index e3a00a894a1..3d8f26eba91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/galleryimages/GalleryImagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/galleryimages/GalleryImagesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcGalleryImage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages", 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/devicemanagement/virtualendpoint/galleryimages/item/CloudPcGalleryImageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/galleryimages/item/CloudPcGalleryImageItemRequestBuilder.java index 3c0a01f6ee6..7877d58cb25 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/galleryimages/item/CloudPcGalleryImageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/galleryimages/item/CloudPcGalleryImageItemRequestBuilder.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}/deviceManagement/virtualEndpoint/galleryImages/{cloudPcGalleryImage%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 CloudPcGalleryImage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages/{cloudPcGalleryImage%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/devicemanagement/virtualendpoint/onpremisesconnections/OnPremisesConnectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/onpremisesconnections/OnPremisesConnectionsRequestBuilder.java index 409b6334b90..1ea3b12f3fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/onpremisesconnections/OnPremisesConnectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/onpremisesconnections/OnPremisesConnectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcOnPremisesConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/onPremisesConnections", 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/devicemanagement/virtualendpoint/onpremisesconnections/item/CloudPcOnPremisesConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/onpremisesconnections/item/CloudPcOnPremisesConnectionItemRequestBuilder.java index f96fccefbb7..b060bafc98d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/onpremisesconnections/item/CloudPcOnPremisesConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/onpremisesconnections/item/CloudPcOnPremisesConnectionItemRequestBuilder.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}/deviceManagement/virtualEndpoint/onPremisesConnections/{cloudPcOnPremisesConnection%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 CloudPcOnPremisesConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/onPremisesConnections/{cloudPcOnPremisesConnection%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/devicemanagement/virtualendpoint/organizationsettings/OrganizationSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/organizationsettings/OrganizationSettingsRequestBuilder.java index 1a1d1243271..9ec8c64c393 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/organizationsettings/OrganizationSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/organizationsettings/OrganizationSettingsRequestBuilder.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}/deviceManagement/virtualEndpoint/organizationSettings", 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 CloudPcOrganizationSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/organizationSettings", 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/devicemanagement/virtualendpoint/provisioningpolicies/ProvisioningPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/ProvisioningPoliciesRequestBuilder.java index 616c69a51e6..0d1fd8a1368 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/ProvisioningPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/ProvisioningPoliciesRequestBuilder.java @@ -190,7 +190,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcProvisioningPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies", 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/devicemanagement/virtualendpoint/provisioningpolicies/applyconfig/ApplyConfigRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/applyconfig/ApplyConfigRequestBuilder.java index 25d51b95582..a3379a4f7f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/applyconfig/ApplyConfigRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/applyconfig/ApplyConfigRequestBuilder.java @@ -35,23 +35,25 @@ public ApplyConfigRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/applyConfig", rawUrl); } /** - * Invoke action applyConfig + * Update the provisioning policy configuration for a set of Cloud PC devices by their IDs. This method supports retry and allows you to apply the configuration to a subset of Cloud PCs initially to test. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final ApplyConfigPostRequestBody body) { post(body, null); } /** - * Invoke action applyConfig + * Update the provisioning policy configuration for a set of Cloud PC devices by their IDs. This method supports retry and allows you to apply the configuration to a subset of Cloud PCs initially to test. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final ApplyConfigPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -62,7 +64,7 @@ public void post(@jakarta.annotation.Nonnull final ApplyConfigPostRequestBody bo this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action applyConfig + * Update the provisioning policy configuration for a set of Cloud PC devices by their IDs. This method supports retry and allows you to apply the configuration to a subset of Cloud PCs initially to test. * @param body The request body * @return a {@link RequestInformation} * @deprecated @@ -74,7 +76,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action applyConfig + * Update the provisioning policy configuration for a set of Cloud PC devices by their IDs. This method supports retry and allows you to apply the configuration to a subset of Cloud PCs initially to test. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/CloudPcProvisioningPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/CloudPcProvisioningPolicyItemRequestBuilder.java index ea6174cf720..be0a129431c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/CloudPcProvisioningPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/CloudPcProvisioningPolicyItemRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcProvisioningPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%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/devicemanagement/virtualendpoint/provisioningpolicies/item/apply/ApplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/apply/ApplyRequestBuilder.java index 6569c405cc5..7eea52f84cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/apply/ApplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/apply/ApplyRequestBuilder.java @@ -35,23 +35,25 @@ public ApplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/apply", rawUrl); } /** - * Invoke action apply + * Apply the current provisioning policy configuration to all Cloud PC devices under a specified policy. Currently, the region is the only policy setting that you can apply. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final ApplyPostRequestBody body) { post(body, null); } /** - * Invoke action apply + * Apply the current provisioning policy configuration to all Cloud PC devices under a specified policy. Currently, the region is the only policy setting that you can apply. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * The onPremisesConnectionId property is deprecated and will stop returning on July 30, 2023. as of 2023-03/onPremisesConnectionId + * @see Find more info here */ @Deprecated public void post(@jakarta.annotation.Nonnull final ApplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -62,7 +64,7 @@ public void post(@jakarta.annotation.Nonnull final ApplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action apply + * Apply the current provisioning policy configuration to all Cloud PC devices under a specified policy. Currently, the region is the only policy setting that you can apply. * @param body The request body * @return a {@link RequestInformation} * @deprecated @@ -74,7 +76,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action apply + * Apply the current provisioning policy configuration to all Cloud PC devices under a specified policy. Currently, the region is the only policy setting that you can apply. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/AssignmentsRequestBuilder.java index 99e4245a983..e90b5ba39e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/AssignmentsRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcProvisioningPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments", 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/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.java index 21c31c60379..f67ab736f0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/CloudPcProvisioningPolicyAssignmentItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcProvisioningPolicyAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%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/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/assignedusers/item/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/assignedusers/item/mailboxsettings/MailboxSettingsRequestBuilder.java index c1284a7aa68..386181f1524 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/assignedusers/item/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/provisioningpolicies/item/assignments/item/assignedusers/item/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/assignments/{cloudPcProvisioningPolicyAssignment%2Did}/assignedUsers/{user%2Did}/mailboxSettings", 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/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java index ea9ab2afd32..0331ba885a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/ReportsRequestBuilder.java @@ -255,7 +255,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}/deviceManagement/virtualEndpoint/reports", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -298,7 +298,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcReports body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/reports", 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/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java index deeb4cc2696..e5584c811a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/ExportJobsRequestBuilder.java @@ -60,7 +60,7 @@ public ExportJobsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/reports/exportJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link CloudPcExportJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public CloudPcExportJobCollectionResponse get() { return get(null); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcExportJobCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public CloudPcExportJob post(@jakarta.annotation.Nonnull final CloudPcExportJob return this.requestAdapter.send(requestInfo, errorMapping, CloudPcExportJob::createFromDiscriminatorValue); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/reports/exportJobs", 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); @@ -163,7 +163,7 @@ public ExportJobsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new ExportJobsRequestBuilder(rawUrl, requestAdapter); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java index 0aba61e1063..0d681a53f50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/exportjobs/item/CloudPcExportJobItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -65,7 +65,7 @@ public CloudPcExportJob get() { return get(null); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CloudPcExportJob} * @throws ODataError When receiving a 4XX or 5XX status code @@ -118,13 +118,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}/deviceManagement/virtualEndpoint/reports/exportJobs/{cloudPcExportJob%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 a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/reports/exportJobs/{cloudPcExportJob%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); @@ -184,7 +184,7 @@ public CloudPcExportJobItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. When the property becomes completed, the report has finished downloading in the location specified by the exportUrl property. + * Read the properties and relationships of a cloudPcExportJob object. You can download a report by first creating a new cloudPcExportJob resource to initiate downloading. Use this GET operation to verify the exportJobStatus property of the cloudPcExportJob resource. The property becomes completed when the report finishes downloading in the location specified by the exportUrl property. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/serviceplans/ServicePlansRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/serviceplans/ServicePlansRequestBuilder.java index d9112398f6e..74c4ba67182 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/serviceplans/ServicePlansRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/serviceplans/ServicePlansRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcServicePlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/servicePlans", 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/devicemanagement/virtualendpoint/serviceplans/item/CloudPcServicePlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/serviceplans/item/CloudPcServicePlanItemRequestBuilder.java index b6d9e0d1dc7..8eb2c7ed911 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/serviceplans/item/CloudPcServicePlanItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/serviceplans/item/CloudPcServicePlanItemRequestBuilder.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}/deviceManagement/virtualEndpoint/servicePlans/{cloudPcServicePlan%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 CloudPcServicePlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/servicePlans/{cloudPcServicePlan%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/devicemanagement/virtualendpoint/shareduseserviceplans/SharedUseServicePlansRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/SharedUseServicePlansRequestBuilder.java index eb980d1c9e3..60a276c1b1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/SharedUseServicePlansRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/SharedUseServicePlansRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcSharedUseServicePlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans", 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/devicemanagement/virtualendpoint/shareduseserviceplans/item/CloudPcSharedUseServicePlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/item/CloudPcSharedUseServicePlanItemRequestBuilder.java index 6563843e353..5c85dfba087 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/item/CloudPcSharedUseServicePlanItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/item/CloudPcSharedUseServicePlanItemRequestBuilder.java @@ -142,7 +142,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans/{cloudPcSharedUseServicePlan%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcSharedUseServicePlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans/{cloudPcSharedUseServicePlan%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/devicemanagement/virtualendpoint/snapshots/SnapshotsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/snapshots/SnapshotsRequestBuilder.java index 9c9c918571f..f87ac47df55 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/snapshots/SnapshotsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/snapshots/SnapshotsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcSnapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots", 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/devicemanagement/virtualendpoint/snapshots/item/CloudPcSnapshotItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/snapshots/item/CloudPcSnapshotItemRequestBuilder.java index 51a621751ac..19a9ebd9c5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/snapshots/item/CloudPcSnapshotItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/snapshots/item/CloudPcSnapshotItemRequestBuilder.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}/deviceManagement/virtualEndpoint/snapshots/{cloudPcSnapshot%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 CloudPcSnapshot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/snapshots/{cloudPcSnapshot%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/devicemanagement/virtualendpoint/supportedregions/SupportedRegionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/supportedregions/SupportedRegionsRequestBuilder.java index b2e3b23e528..c191dc234e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/supportedregions/SupportedRegionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/supportedregions/SupportedRegionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcSupportedRegion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/supportedRegions", 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/devicemanagement/virtualendpoint/supportedregions/item/CloudPcSupportedRegionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/supportedregions/item/CloudPcSupportedRegionItemRequestBuilder.java index 014953586aa..91f9795f530 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/supportedregions/item/CloudPcSupportedRegionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/supportedregions/item/CloudPcSupportedRegionItemRequestBuilder.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}/deviceManagement/virtualEndpoint/supportedRegions/{cloudPcSupportedRegion%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 CloudPcSupportedRegion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/supportedRegions/{cloudPcSupportedRegion%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/devicemanagement/virtualendpoint/usersettings/UserSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/UserSettingsRequestBuilder.java index b38504b9d92..064170b407f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/UserSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/UserSettingsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcUserSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/userSettings", 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/devicemanagement/virtualendpoint/usersettings/item/CloudPcUserSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/CloudPcUserSettingItemRequestBuilder.java index 8f7604c2c90..cc77dec99f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/CloudPcUserSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/CloudPcUserSettingItemRequestBuilder.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}/deviceManagement/virtualEndpoint/userSettings/{cloudPcUserSetting%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 CloudPcUserSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/userSettings/{cloudPcUserSetting%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/devicemanagement/virtualendpoint/usersettings/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/assignments/AssignmentsRequestBuilder.java index 510b65037c1..2ff0deeb412 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcUserSettingAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/userSettings/{cloudPcUserSetting%2Did}/assignments", 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/devicemanagement/virtualendpoint/usersettings/item/assignments/item/CloudPcUserSettingAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/assignments/item/CloudPcUserSettingAssignmentItemRequestBuilder.java index f59e49dd473..ac5229ef5da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/assignments/item/CloudPcUserSettingAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/usersettings/item/assignments/item/CloudPcUserSettingAssignmentItemRequestBuilder.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}/deviceManagement/virtualEndpoint/userSettings/{cloudPcUserSetting%2Did}/assignments/{cloudPcUserSettingAssignment%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 CloudPcUserSettingAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/userSettings/{cloudPcUserSetting%2Did}/assignments/{cloudPcUserSettingAssignment%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/devicemanagement/windowsautopilotdeploymentprofiles/WindowsAutopilotDeploymentProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/WindowsAutopilotDeploymentProfilesRequestBuilder.java index 70a69ed757b..cec2f06cd88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/WindowsAutopilotDeploymentProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/WindowsAutopilotDeploymentProfilesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsAutopilotDeploymentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsAutopilotDeploymentProfiles", 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/devicemanagement/windowsautopilotdeploymentprofiles/item/WindowsAutopilotDeploymentProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/WindowsAutopilotDeploymentProfileItemRequestBuilder.java index d06f2c67400..f05ce8ac8cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/WindowsAutopilotDeploymentProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/WindowsAutopilotDeploymentProfileItemRequestBuilder.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}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%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 WindowsAutopilotDeploymentProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%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/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/AssignedDevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/AssignedDevicesRequestBuilder.java index 96ace9d9789..c4ac1a891a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/AssignedDevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/AssignedDevicesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsAutopilotDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%2Did}/assignedDevices", 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/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java index ed1ee191d79..09383e22fbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assigneddevices/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java @@ -188,7 +188,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}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%2Did}/assignedDevices/{windowsAutopilotDeviceIdentity%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WindowsAutopilotDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%2Did}/assignedDevices/{windowsAutopilotDeviceIdentity%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/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/AssignmentsRequestBuilder.java index 70ae99a417b..c84e17c8b6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsAutopilotDeploymentProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%2Did}/assignments", 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/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/item/WindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/item/WindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder.java index adff791909b..0dc2605d480 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/item/WindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeploymentprofiles/item/assignments/item/WindowsAutopilotDeploymentProfileAssignmentItemRequestBuilder.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}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%2Did}/assignments/{windowsAutopilotDeploymentProfileAssignment%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 WindowsAutopilotDeploymentProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsAutopilotDeploymentProfiles/{windowsAutopilotDeploymentProfile%2Did}/assignments/{windowsAutopilotDeploymentProfileAssignment%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/devicemanagement/windowsautopilotdeviceidentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeviceidentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.java index 15daa73fc84..c576d510d0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeviceidentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeviceidentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsAutopilotDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsAutopilotDeviceIdentities", 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/devicemanagement/windowsautopilotdeviceidentities/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeviceidentities/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java index c375b21bfbe..fca73cc496f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeviceidentities/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotdeviceidentities/item/WindowsAutopilotDeviceIdentityItemRequestBuilder.java @@ -188,7 +188,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}/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WindowsAutopilotDeviceIdentity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentity%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/devicemanagement/windowsautopilotsettings/WindowsAutopilotSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotsettings/WindowsAutopilotSettingsRequestBuilder.java index 24989848fe8..564a8d7f926 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotsettings/WindowsAutopilotSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsautopilotsettings/WindowsAutopilotSettingsRequestBuilder.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}/deviceManagement/windowsAutopilotSettings", 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 WindowsAutopilotSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsAutopilotSettings", 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/devicemanagement/windowsdriverupdateprofiles/WindowsDriverUpdateProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/WindowsDriverUpdateProfilesRequestBuilder.java index 3e4643363db..14015b4c521 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/WindowsDriverUpdateProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/WindowsDriverUpdateProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDriverUpdateProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsDriverUpdateProfiles", 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/devicemanagement/windowsdriverupdateprofiles/item/WindowsDriverUpdateProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/WindowsDriverUpdateProfileItemRequestBuilder.java index 355c086d005..949c5225c72 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/WindowsDriverUpdateProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/WindowsDriverUpdateProfileItemRequestBuilder.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}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%2Did}", 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 WindowsDriverUpdateProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%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/devicemanagement/windowsdriverupdateprofiles/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/assignments/AssignmentsRequestBuilder.java index 51a4145fb79..b6b559bccaf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDriverUpdateProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%2Did}/assignments", 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/devicemanagement/windowsdriverupdateprofiles/item/assignments/item/WindowsDriverUpdateProfileAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/assignments/item/WindowsDriverUpdateProfileAssignmentItemRequestBuilder.java index ac6bf1a52c5..619e387b464 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/assignments/item/WindowsDriverUpdateProfileAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/assignments/item/WindowsDriverUpdateProfileAssignmentItemRequestBuilder.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}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%2Did}/assignments/{windowsDriverUpdateProfileAssignment%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 WindowsDriverUpdateProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%2Did}/assignments/{windowsDriverUpdateProfileAssignment%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/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/DriverInventoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/DriverInventoriesRequestBuilder.java index a38e175aec0..ae0f4be7198 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/DriverInventoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/DriverInventoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsDriverUpdateInventory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%2Did}/driverInventories", 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/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/item/WindowsDriverUpdateInventoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/item/WindowsDriverUpdateInventoryItemRequestBuilder.java index 614434b5afb..e7b03129834 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/item/WindowsDriverUpdateInventoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsdriverupdateprofiles/item/driverinventories/item/WindowsDriverUpdateInventoryItemRequestBuilder.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}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%2Did}/driverInventories/{windowsDriverUpdateInventory%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 WindowsDriverUpdateInventory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsDriverUpdateProfiles/{windowsDriverUpdateProfile%2Did}/driverInventories/{windowsDriverUpdateInventory%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/devicemanagement/windowsfeatureupdateprofiles/WindowsFeatureUpdateProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/WindowsFeatureUpdateProfilesRequestBuilder.java index 158c6205545..73a05b98f00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/WindowsFeatureUpdateProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/WindowsFeatureUpdateProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsFeatureUpdateProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsFeatureUpdateProfiles", 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/devicemanagement/windowsfeatureupdateprofiles/item/WindowsFeatureUpdateProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/WindowsFeatureUpdateProfileItemRequestBuilder.java index ca7f1bb92ab..84098618536 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/WindowsFeatureUpdateProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/WindowsFeatureUpdateProfileItemRequestBuilder.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}/deviceManagement/windowsFeatureUpdateProfiles/{windowsFeatureUpdateProfile%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 WindowsFeatureUpdateProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsFeatureUpdateProfiles/{windowsFeatureUpdateProfile%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/devicemanagement/windowsfeatureupdateprofiles/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/assignments/AssignmentsRequestBuilder.java index ca45e004f18..b702cdb645f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsFeatureUpdateProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsFeatureUpdateProfiles/{windowsFeatureUpdateProfile%2Did}/assignments", 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/devicemanagement/windowsfeatureupdateprofiles/item/assignments/item/WindowsFeatureUpdateProfileAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/assignments/item/WindowsFeatureUpdateProfileAssignmentItemRequestBuilder.java index 72db162f51a..8ef1ac0a69e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/assignments/item/WindowsFeatureUpdateProfileAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsfeatureupdateprofiles/item/assignments/item/WindowsFeatureUpdateProfileAssignmentItemRequestBuilder.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}/deviceManagement/windowsFeatureUpdateProfiles/{windowsFeatureUpdateProfile%2Did}/assignments/{windowsFeatureUpdateProfileAssignment%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 WindowsFeatureUpdateProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsFeatureUpdateProfiles/{windowsFeatureUpdateProfile%2Did}/assignments/{windowsFeatureUpdateProfileAssignment%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/devicemanagement/windowsinformationprotectionapplearningsummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionapplearningsummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.java index 158185c0b15..c4336a98129 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionapplearningsummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionapplearningsummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionAppLearningSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsInformationProtectionAppLearningSummaries", 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/devicemanagement/windowsinformationprotectionapplearningsummaries/item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionapplearningsummaries/item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.java index f35e9eecc72..0e59bd43b5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionapplearningsummaries/item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionapplearningsummaries/item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.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}/deviceManagement/windowsInformationProtectionAppLearningSummaries/{windowsInformationProtectionAppLearningSummary%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 WindowsInformationProtectionAppLearningSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsInformationProtectionAppLearningSummaries/{windowsInformationProtectionAppLearningSummary%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/devicemanagement/windowsinformationprotectionnetworklearningsummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionnetworklearningsummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.java index 6947a969870..72ee6f4725c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionnetworklearningsummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionnetworklearningsummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsInformationProtectionNetworkLearningSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsInformationProtectionNetworkLearningSummaries", 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/devicemanagement/windowsinformationprotectionnetworklearningsummaries/item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionnetworklearningsummaries/item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.java index eb90d9a6ba1..8ee6f32679b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionnetworklearningsummaries/item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsinformationprotectionnetworklearningsummaries/item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.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}/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/{windowsInformationProtectionNetworkLearningSummary%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 WindowsInformationProtectionNetworkLearningSummary body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsInformationProtectionNetworkLearningSummaries/{windowsInformationProtectionNetworkLearningSummary%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/devicemanagement/windowsmalwareinformation/WindowsMalwareInformationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/WindowsMalwareInformationRequestBuilder.java index eb42e95f0f6..e192b83ed7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/WindowsMalwareInformationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/WindowsMalwareInformationRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsMalwareInformation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsMalwareInformation", 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/devicemanagement/windowsmalwareinformation/item/WindowsMalwareInformationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/WindowsMalwareInformationItemRequestBuilder.java index f91f0884404..3eba30f5fd9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/WindowsMalwareInformationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/WindowsMalwareInformationItemRequestBuilder.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}/deviceManagement/windowsMalwareInformation/{windowsMalwareInformation%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 WindowsMalwareInformation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsMalwareInformation/{windowsMalwareInformation%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/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/DeviceMalwareStatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/DeviceMalwareStatesRequestBuilder.java index 62a6041bf83..efc8efaa073 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/DeviceMalwareStatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/DeviceMalwareStatesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MalwareStateForWindowsDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsMalwareInformation/{windowsMalwareInformation%2Did}/deviceMalwareStates", 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/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/item/MalwareStateForWindowsDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/item/MalwareStateForWindowsDeviceItemRequestBuilder.java index 87d247102d1..8361237cb29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/item/MalwareStateForWindowsDeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsmalwareinformation/item/devicemalwarestates/item/MalwareStateForWindowsDeviceItemRequestBuilder.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}/deviceManagement/windowsMalwareInformation/{windowsMalwareInformation%2Did}/deviceMalwareStates/{malwareStateForWindowsDevice%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 MalwareStateForWindowsDevice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsMalwareInformation/{windowsMalwareInformation%2Did}/deviceMalwareStates/{malwareStateForWindowsDevice%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/devicemanagement/windowsqualityupdateprofiles/WindowsQualityUpdateProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/WindowsQualityUpdateProfilesRequestBuilder.java index 6e7afcd5d93..44c3dd8a7a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/WindowsQualityUpdateProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/WindowsQualityUpdateProfilesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsQualityUpdateProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsQualityUpdateProfiles", 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/devicemanagement/windowsqualityupdateprofiles/item/WindowsQualityUpdateProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/WindowsQualityUpdateProfileItemRequestBuilder.java index d1a4cdd2753..c6b1e362b0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/WindowsQualityUpdateProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/WindowsQualityUpdateProfileItemRequestBuilder.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}/deviceManagement/windowsQualityUpdateProfiles/{windowsQualityUpdateProfile%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 WindowsQualityUpdateProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsQualityUpdateProfiles/{windowsQualityUpdateProfile%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/devicemanagement/windowsqualityupdateprofiles/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/assignments/AssignmentsRequestBuilder.java index b0a48a1e606..c841af0edde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/assignments/AssignmentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsQualityUpdateProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsQualityUpdateProfiles/{windowsQualityUpdateProfile%2Did}/assignments", 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/devicemanagement/windowsqualityupdateprofiles/item/assignments/item/WindowsQualityUpdateProfileAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/assignments/item/WindowsQualityUpdateProfileAssignmentItemRequestBuilder.java index de08730945e..201d12341be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/assignments/item/WindowsQualityUpdateProfileAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsqualityupdateprofiles/item/assignments/item/WindowsQualityUpdateProfileAssignmentItemRequestBuilder.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}/deviceManagement/windowsQualityUpdateProfiles/{windowsQualityUpdateProfile%2Did}/assignments/{windowsQualityUpdateProfileAssignment%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 WindowsQualityUpdateProfileAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsQualityUpdateProfiles/{windowsQualityUpdateProfile%2Did}/assignments/{windowsQualityUpdateProfileAssignment%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/devicemanagement/windowsupdatecatalogitems/WindowsUpdateCatalogItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsupdatecatalogitems/WindowsUpdateCatalogItemsRequestBuilder.java index 1d478f3d6fe..afb55d5d840 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsupdatecatalogitems/WindowsUpdateCatalogItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsupdatecatalogitems/WindowsUpdateCatalogItemsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WindowsUpdateCatalogItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/windowsUpdateCatalogItems", 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/devicemanagement/windowsupdatecatalogitems/item/WindowsUpdateCatalogItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsupdatecatalogitems/item/WindowsUpdateCatalogItemItemRequestBuilder.java index c790b90a603..e6ae53672e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsupdatecatalogitems/item/WindowsUpdateCatalogItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/windowsupdatecatalogitems/item/WindowsUpdateCatalogItemItemRequestBuilder.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}/deviceManagement/windowsUpdateCatalogItems/{windowsUpdateCatalogItem%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 WindowsUpdateCatalogItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/windowsUpdateCatalogItems/{windowsUpdateCatalogItem%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/devicemanagement/zebrafotaartifacts/ZebraFotaArtifactsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaartifacts/ZebraFotaArtifactsRequestBuilder.java index 6f98edcc5b2..bccafbf999b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaartifacts/ZebraFotaArtifactsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaartifacts/ZebraFotaArtifactsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ZebraFotaArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/zebraFotaArtifacts", 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/devicemanagement/zebrafotaartifacts/item/ZebraFotaArtifactItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaartifacts/item/ZebraFotaArtifactItemRequestBuilder.java index 1a3bea0df21..bd4c9b9bf12 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaartifacts/item/ZebraFotaArtifactItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaartifacts/item/ZebraFotaArtifactItemRequestBuilder.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}/deviceManagement/zebraFotaArtifacts/{zebraFotaArtifact%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 ZebraFotaArtifact body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/zebraFotaArtifacts/{zebraFotaArtifact%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/devicemanagement/zebrafotaconnector/ZebraFotaConnectorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaconnector/ZebraFotaConnectorRequestBuilder.java index 16dc120b58d..2ed16eb3b27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaconnector/ZebraFotaConnectorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotaconnector/ZebraFotaConnectorRequestBuilder.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}/deviceManagement/zebraFotaConnector", 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 ZebraFotaConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/zebraFotaConnector", 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/devicemanagement/zebrafotadeployments/ZebraFotaDeploymentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotadeployments/ZebraFotaDeploymentsRequestBuilder.java index 19fa023546c..2e81b3c93c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotadeployments/ZebraFotaDeploymentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotadeployments/ZebraFotaDeploymentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ZebraFotaDeployment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/zebraFotaDeployments", 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/devicemanagement/zebrafotadeployments/item/ZebraFotaDeploymentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotadeployments/item/ZebraFotaDeploymentItemRequestBuilder.java index f0494b68140..a3ce420cfcc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotadeployments/item/ZebraFotaDeploymentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/zebrafotadeployments/item/ZebraFotaDeploymentItemRequestBuilder.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}/deviceManagement/zebraFotaDeployments/{zebraFotaDeployment%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 ZebraFotaDeployment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/zebraFotaDeployments/{zebraFotaDeployment%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/devices/DevicesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/DevicesRequestBuilder.java index 9f36c061f6f..10fed85699c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/DevicesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/DevicesRequestBuilder.java @@ -184,7 +184,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Device body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/devices", 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/devices/item/DeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/DeviceItemRequestBuilder.java index 80bc12f27be..8848e74900f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/DeviceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/DeviceItemRequestBuilder.java @@ -230,7 +230,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}/devices/{device%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -273,7 +273,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Device body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/devices/{device%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/devices/item/commands/CommandsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/commands/CommandsRequestBuilder.java index 4f8f4a956fb..128710a3998 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/commands/CommandsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/commands/CommandsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Command body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/devices/{device%2Did}/commands", 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/devices/item/commands/item/CommandItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/commands/item/CommandItemRequestBuilder.java index c4fb68846c9..9f04d1cc85a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/commands/item/CommandItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/commands/item/CommandItemRequestBuilder.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}/devices/{device%2Did}/commands/{command%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 Command body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/devices/{device%2Did}/commands/{command%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/devices/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/extensions/ExtensionsRequestBuilder.java index 8281b6f6764..af48b6b7c5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/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}/devices/{device%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/devices/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/extensions/item/ExtensionItemRequestBuilder.java index 2aba62f7fd7..8b4736e4c09 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/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}/devices/{device%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}/devices/{device%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/devices/item/registeredowners/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/ref/RefRequestBuilder.java index 780f09037d0..f6ad927139b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/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}/devices/{device%2Did}/registeredOwners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredOwners/$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}/devices/{device%2Did}/registeredOwners/$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/devices/item/registeredusers/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredusers/ref/RefRequestBuilder.java index 1dcb70ad2a8..b97e22cf6c4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredusers/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredusers/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}/devices/{device%2Did}/registeredUsers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/devices/{device%2Did}/registeredUsers/$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}/devices/{device%2Did}/registeredUsers/$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/devices/item/usagerights/UsageRightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/usagerights/UsageRightsRequestBuilder.java index e3535e420b8..6eed37ecd24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/usagerights/UsageRightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/usagerights/UsageRightsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UsageRight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/devices/{device%2Did}/usageRights", 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/devices/item/usagerights/item/UsageRightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/usagerights/item/UsageRightItemRequestBuilder.java index 0c90f8f5869..5a2a3fa8292 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/usagerights/item/UsageRightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/usagerights/item/UsageRightItemRequestBuilder.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}/devices/{device%2Did}/usageRights/{usageRight%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 UsageRight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/devices/{device%2Did}/usageRights/{usageRight%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/deviceswithdeviceid/DevicesWithDeviceIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceswithdeviceid/DevicesWithDeviceIdRequestBuilder.java index 81739eba029..99952d22747 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceswithdeviceid/DevicesWithDeviceIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceswithdeviceid/DevicesWithDeviceIdRequestBuilder.java @@ -124,7 +124,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}/devices(deviceId='{deviceId}')", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -167,7 +167,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Device body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/devices(deviceId='{deviceId}')", 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/directory/DirectoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java index 2a2fa1d1ae3..5a31559cd04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/DirectoryRequestBuilder.java @@ -296,7 +296,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Directory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory", 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/directory/administrativeunits/AdministrativeUnitsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/AdministrativeUnitsRequestBuilder.java index 4064bc3d012..42fbcd9d8a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/AdministrativeUnitsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/AdministrativeUnitsRequestBuilder.java @@ -153,7 +153,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}/directory/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/directory/administrativeunits/item/AdministrativeUnitItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/AdministrativeUnitItemRequestBuilder.java index c3e33802680..474ec9d44eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/AdministrativeUnitItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/AdministrativeUnitItemRequestBuilder.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}/directory/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; @@ -186,7 +186,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}/directory/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/directory/administrativeunits/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/extensions/ExtensionsRequestBuilder.java index 92d00e5d18b..0c5331a1fd7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/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}/directory/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/directory/administrativeunits/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/extensions/item/ExtensionItemRequestBuilder.java index aa70f1e9b7d..6af0aff0b30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/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}/directory/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}/directory/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/directory/administrativeunits/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/members/MembersRequestBuilder.java index 3c14976f5e0..7ef72076844 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/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}/directory/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/directory/administrativeunits/item/members/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/members/ref/RefRequestBuilder.java index 35cc79ecb96..3814a93f30d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/members/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/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}/directory/administrativeUnits/{administrativeUnit%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/directory/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}/directory/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/directory/administrativeunits/item/scopedrolemembers/ScopedRoleMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/scopedrolemembers/ScopedRoleMembersRequestBuilder.java index 64dfd5b2ff5..43617fe2bfe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/scopedrolemembers/ScopedRoleMembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/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}/directory/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/directory/administrativeunits/item/scopedrolemembers/item/ScopedRoleMembershipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/scopedrolemembers/item/ScopedRoleMembershipItemRequestBuilder.java index c89d50630d2..b11ad841104 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/administrativeunits/item/scopedrolemembers/item/ScopedRoleMembershipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/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}/directory/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}/directory/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/directory/attributesets/AttributeSetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/attributesets/AttributeSetsRequestBuilder.java index be247ec2e3c..1c13765b630 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/attributesets/AttributeSetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/attributesets/AttributeSetsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttributeSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/attributeSets", 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/directory/attributesets/item/AttributeSetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/attributesets/item/AttributeSetItemRequestBuilder.java index 3a551b950f4..12d613413f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/attributesets/item/AttributeSetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/attributesets/item/AttributeSetItemRequestBuilder.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}/directory/attributeSets/{attributeSet%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 AttributeSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/attributeSets/{attributeSet%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/directory/certificateauthorities/CertificateAuthoritiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/CertificateAuthoritiesRequestBuilder.java index aa94e43e060..3367f7697bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/CertificateAuthoritiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/CertificateAuthoritiesRequestBuilder.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}/directory/certificateAuthorities", 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 CertificateAuthorityPath body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/certificateAuthorities", 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/directory/certificateauthorities/certificatebasedapplicationconfigurations/CertificateBasedApplicationConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/CertificateBasedApplicationConfigurationsRequestBuilder.java index 6c725c31bac..7ce7baf5d8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/CertificateBasedApplicationConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/CertificateBasedApplicationConfigurationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CertificateBasedApplicationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/certificateAuthorities/certificateBasedApplicationConfigurations", 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/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/CertificateBasedApplicationConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/CertificateBasedApplicationConfigurationItemRequestBuilder.java index c115fc9a7da..68b429cf1ff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/CertificateBasedApplicationConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/CertificateBasedApplicationConfigurationItemRequestBuilder.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}/directory/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%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 CertificateBasedApplicationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%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/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/TrustedCertificateAuthoritiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/TrustedCertificateAuthoritiesRequestBuilder.java index d47b58cc9e1..62bc2fb53e8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/TrustedCertificateAuthoritiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/TrustedCertificateAuthoritiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CertificateAuthorityAsEntity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities", 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/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/item/CertificateAuthorityAsEntityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/item/CertificateAuthorityAsEntityItemRequestBuilder.java index 150f85c84fc..720208b2ae7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/item/CertificateAuthorityAsEntityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/certificateauthorities/certificatebasedapplicationconfigurations/item/trustedcertificateauthorities/item/CertificateAuthorityAsEntityItemRequestBuilder.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}/directory/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/{certificateAuthorityAsEntity%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 CertificateAuthorityAsEntity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/{certificateAuthorityAsEntity%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/directory/customsecurityattributedefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.java index 7382d0cc510..f6a03f51b4d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomSecurityAttributeDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/customSecurityAttributeDefinitions", 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/directory/customsecurityattributedefinitions/item/CustomSecurityAttributeDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/CustomSecurityAttributeDefinitionItemRequestBuilder.java index 2425eb8e2ab..155724d426e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/CustomSecurityAttributeDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/CustomSecurityAttributeDefinitionItemRequestBuilder.java @@ -129,7 +129,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}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomSecurityAttributeDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%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/directory/customsecurityattributedefinitions/item/allowedvalues/AllowedValuesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/allowedvalues/AllowedValuesRequestBuilder.java index 7c49a0496db..c00d4a1193d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/allowedvalues/AllowedValuesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/allowedvalues/AllowedValuesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AllowedValue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues", 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/directory/customsecurityattributedefinitions/item/allowedvalues/item/AllowedValueItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/allowedvalues/item/AllowedValueItemRequestBuilder.java index 45bbe5ebcc6..a703b126a6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/allowedvalues/item/AllowedValueItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/customsecurityattributedefinitions/item/allowedvalues/item/AllowedValueItemRequestBuilder.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}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/{allowedValue%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 AllowedValue body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/customSecurityAttributeDefinitions/{customSecurityAttributeDefinition%2Did}/allowedValues/{allowedValue%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/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java index 4524c9bb267..b5f5d44e255 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/deleteditems/item/DirectoryObjectItemRequestBuilder.java @@ -190,7 +190,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}/directory/deletedItems/{directoryObject%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java index 95db2183626..2f591f97a3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/devicelocalcredentials/DeviceLocalCredentialsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DeviceLocalCredentialInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/deviceLocalCredentials", 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/directory/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.java index 0fbde056d4e..176744aa132 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/devicelocalcredentials/item/DeviceLocalCredentialInfoItemRequestBuilder.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}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%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 DeviceLocalCredentialInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/deviceLocalCredentials/{deviceLocalCredentialInfo%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/directory/externaluserprofiles/ExternalUserProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/externaluserprofiles/ExternalUserProfilesRequestBuilder.java index f11961f525b..968f0b4e25d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/externaluserprofiles/ExternalUserProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/externaluserprofiles/ExternalUserProfilesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/externalUserProfiles", 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/directory/externaluserprofiles/item/ExternalUserProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/externaluserprofiles/item/ExternalUserProfileItemRequestBuilder.java index e670a0094b5..232fce98c73 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/externaluserprofiles/item/ExternalUserProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/externaluserprofiles/item/ExternalUserProfileItemRequestBuilder.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}/directory/externalUserProfiles/{externalUserProfile%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 ExternalUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/externalUserProfiles/{externalUserProfile%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/directory/featurerolloutpolicies/FeatureRolloutPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/FeatureRolloutPoliciesRequestBuilder.java index ce968e519ce..01d9691cf83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/FeatureRolloutPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/FeatureRolloutPoliciesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final FeatureRolloutPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/featureRolloutPolicies", 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/directory/featurerolloutpolicies/item/FeatureRolloutPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/FeatureRolloutPolicyItemRequestBuilder.java index 472a365e3a6..d8f46f99084 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/FeatureRolloutPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/FeatureRolloutPolicyItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final FeatureRolloutPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/featureRolloutPolicies/{featureRolloutPolicy%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/directory/featurerolloutpolicies/item/appliesto/AppliesToRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/appliesto/AppliesToRequestBuilder.java index 46d75d15e62..ed660bd1815 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/appliesto/AppliesToRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/appliesto/AppliesToRequestBuilder.java @@ -185,7 +185,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated 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}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo", 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/directory/featurerolloutpolicies/item/appliesto/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/appliesto/ref/RefRequestBuilder.java index 25dd95ebd9e..3b47278e8c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/appliesto/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/featurerolloutpolicies/item/appliesto/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}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$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}/directory/featureRolloutPolicies/{featureRolloutPolicy%2Did}/appliesTo/$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/directory/federationconfigurations/FederationConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/federationconfigurations/FederationConfigurationsRequestBuilder.java index 4d82433500f..59b6c2a955c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/federationconfigurations/FederationConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/federationconfigurations/FederationConfigurationsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityProviderBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/federationConfigurations", 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/directory/federationconfigurations/item/IdentityProviderBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/federationconfigurations/item/IdentityProviderBaseItemRequestBuilder.java index 87a796e2fd4..00e8902207b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/federationconfigurations/item/IdentityProviderBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/federationconfigurations/item/IdentityProviderBaseItemRequestBuilder.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}/directory/federationConfigurations/{identityProviderBase%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 IdentityProviderBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/federationConfigurations/{identityProviderBase%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/directory/impactedresources/ImpactedResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/ImpactedResourcesRequestBuilder.java index 4a1af5d6735..582f4558423 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/ImpactedResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/ImpactedResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ImpactedResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/impactedResources", 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/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.java index 930bd246577..9bbd5a09a15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/impactedresources/item/ImpactedResourceItemRequestBuilder.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}/directory/impactedResources/{impactedResource%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 ImpactedResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/impactedResources/{impactedResource%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/directory/inboundshareduserprofiles/InboundSharedUserProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/inboundshareduserprofiles/InboundSharedUserProfilesRequestBuilder.java index 45eda5f7805..0b47c251fe8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/inboundshareduserprofiles/InboundSharedUserProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/inboundshareduserprofiles/InboundSharedUserProfilesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final InboundSharedUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/inboundSharedUserProfiles", 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/directory/inboundshareduserprofiles/item/InboundSharedUserProfileUserItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/inboundshareduserprofiles/item/InboundSharedUserProfileUserItemRequestBuilder.java index d2c435a7529..90e4d5477a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/inboundshareduserprofiles/item/InboundSharedUserProfileUserItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/inboundshareduserprofiles/item/InboundSharedUserProfileUserItemRequestBuilder.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}/directory/inboundSharedUserProfiles/{inboundSharedUserProfile%2DuserId}", 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 InboundSharedUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/inboundSharedUserProfiles/{inboundSharedUserProfile%2DuserId}", 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/directory/onpremisessynchronization/OnPremisesSynchronizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/onpremisessynchronization/OnPremisesSynchronizationRequestBuilder.java index db745abac72..54b52ca36b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/onpremisessynchronization/OnPremisesSynchronizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/onpremisessynchronization/OnPremisesSynchronizationRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnPremisesDirectorySynchronization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/onPremisesSynchronization", 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/directory/onpremisessynchronization/item/OnPremisesDirectorySynchronizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/onpremisessynchronization/item/OnPremisesDirectorySynchronizationItemRequestBuilder.java index 0403b90c504..9d6590f9a2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/onpremisessynchronization/item/OnPremisesDirectorySynchronizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/onpremisessynchronization/item/OnPremisesDirectorySynchronizationItemRequestBuilder.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}/directory/onPremisesSynchronization/{onPremisesDirectorySynchronization%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 OnPremisesDirectorySynchronization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/onPremisesSynchronization/{onPremisesDirectorySynchronization%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/directory/outboundshareduserprofiles/OutboundSharedUserProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/OutboundSharedUserProfilesRequestBuilder.java index 0e30acfecd6..537e390e517 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/OutboundSharedUserProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/OutboundSharedUserProfilesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OutboundSharedUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/outboundSharedUserProfiles", 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/directory/outboundshareduserprofiles/item/OutboundSharedUserProfileUserItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/OutboundSharedUserProfileUserItemRequestBuilder.java index 5ae14c52bfd..e1925ac7a56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/OutboundSharedUserProfileUserItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/OutboundSharedUserProfileUserItemRequestBuilder.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}/directory/outboundSharedUserProfiles/{outboundSharedUserProfile%2DuserId}", 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 OutboundSharedUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/outboundSharedUserProfiles/{outboundSharedUserProfile%2DuserId}", 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/directory/outboundshareduserprofiles/item/tenants/TenantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/tenants/TenantsRequestBuilder.java index c685f773b4d..7223c2961a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/tenants/TenantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/tenants/TenantsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TenantReference body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/outboundSharedUserProfiles/{outboundSharedUserProfile%2DuserId}/tenants", 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/directory/outboundshareduserprofiles/item/tenants/item/TenantReferenceTenantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/tenants/item/TenantReferenceTenantItemRequestBuilder.java index d65e7cfb3f3..79fda6b6694 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/tenants/item/TenantReferenceTenantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/outboundshareduserprofiles/item/tenants/item/TenantReferenceTenantItemRequestBuilder.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}/directory/outboundSharedUserProfiles/{outboundSharedUserProfile%2DuserId}/tenants/{tenantReference%2DtenantId}", 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 TenantReference body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/outboundSharedUserProfiles/{outboundSharedUserProfile%2DuserId}/tenants/{tenantReference%2DtenantId}", 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/directory/pendingexternaluserprofiles/PendingExternalUserProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/pendingexternaluserprofiles/PendingExternalUserProfilesRequestBuilder.java index 09eba3fe53c..926266afc5f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/pendingexternaluserprofiles/PendingExternalUserProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/pendingexternaluserprofiles/PendingExternalUserProfilesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PendingExternalUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/pendingExternalUserProfiles", 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/directory/pendingexternaluserprofiles/item/PendingExternalUserProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/pendingexternaluserprofiles/item/PendingExternalUserProfileItemRequestBuilder.java index fdc8fdde903..4164b90d66a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/pendingexternaluserprofiles/item/PendingExternalUserProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/pendingexternaluserprofiles/item/PendingExternalUserProfileItemRequestBuilder.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}/directory/pendingExternalUserProfiles/{pendingExternalUserProfile%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 PendingExternalUserProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/pendingExternalUserProfiles/{pendingExternalUserProfile%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/directory/recommendations/RecommendationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/RecommendationsRequestBuilder.java index 101be4d1978..d21e8d0cbfa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/RecommendationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/RecommendationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Recommendation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/recommendations", 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/directory/recommendations/item/RecommendationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/RecommendationItemRequestBuilder.java index 0595bc391d0..b35e809e678 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/RecommendationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/RecommendationItemRequestBuilder.java @@ -163,7 +163,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}/directory/recommendations/{recommendation%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Recommendation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/recommendations/{recommendation%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/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java index 4c9821e8d7b..c7c7fa2ceb2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/ImpactedResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ImpactedResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources", 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/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.java index 8da14824427..9ca56e0dadd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendations/item/impactedresources/item/ImpactedResourceItemRequestBuilder.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}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%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 ImpactedResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/recommendations/{recommendation%2Did}/impactedResources/{impactedResource%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/directory/sharedemaildomains/SharedEmailDomainsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/sharedemaildomains/SharedEmailDomainsRequestBuilder.java index 12e5580bd41..d3ad53b0e36 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/sharedemaildomains/SharedEmailDomainsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/sharedemaildomains/SharedEmailDomainsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharedEmailDomain body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/sharedEmailDomains", 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/directory/sharedemaildomains/item/SharedEmailDomainItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/sharedemaildomains/item/SharedEmailDomainItemRequestBuilder.java index af8bd4c956b..c1507146f26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/sharedemaildomains/item/SharedEmailDomainItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/sharedemaildomains/item/SharedEmailDomainItemRequestBuilder.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}/directory/sharedEmailDomains/{sharedEmailDomain%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 SharedEmailDomain body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/sharedEmailDomains/{sharedEmailDomain%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/directory/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptions/SubscriptionsRequestBuilder.java index ac2e2962df1..303f2e0afbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptions/SubscriptionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CompanySubscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directory/subscriptions", 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/directory/subscriptions/item/CompanySubscriptionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptions/item/CompanySubscriptionItemRequestBuilder.java index f10fc5c7497..cdb07fcdb0d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptions/item/CompanySubscriptionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptions/item/CompanySubscriptionItemRequestBuilder.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}/directory/subscriptions/{companySubscription%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 CompanySubscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/subscriptions/{companySubscription%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/directory/subscriptionswithcommercesubscriptionid/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptionswithcommercesubscriptionid/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.java index cf4daf3fb96..84291eed779 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptionswithcommercesubscriptionid/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptionswithcommercesubscriptionid/SubscriptionsWithCommerceSubscriptionIdRequestBuilder.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}/directory/subscriptions(commerceSubscriptionId='{commerceSubscriptionId}')", 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 CompanySubscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/subscriptions(commerceSubscriptionId='{commerceSubscriptionId}')", 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/directory/subscriptionswithocpsubscriptionid/SubscriptionsWithOcpSubscriptionIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptionswithocpsubscriptionid/SubscriptionsWithOcpSubscriptionIdRequestBuilder.java index 428da95ecf5..eec9b641b79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptionswithocpsubscriptionid/SubscriptionsWithOcpSubscriptionIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directory/subscriptionswithocpsubscriptionid/SubscriptionsWithOcpSubscriptionIdRequestBuilder.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}/directory/subscriptions(ocpSubscriptionId='{ocpSubscriptionId}')", 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 CompanySubscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directory/subscriptions(ocpSubscriptionId='{ocpSubscriptionId}')", 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/directoryobjects/DirectoryObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/DirectoryObjectsRequestBuilder.java index 00cc4b29965..41dc479b19e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/DirectoryObjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/DirectoryObjectsRequestBuilder.java @@ -180,7 +180,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}/directoryObjects", 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/directoryobjects/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/item/DirectoryObjectItemRequestBuilder.java index 3a60b59def4..a2f6e365b38 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/item/DirectoryObjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryobjects/item/DirectoryObjectItemRequestBuilder.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}/directoryObjects/{directoryObject%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 DirectoryObject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directoryObjects/{directoryObject%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/directoryroles/DirectoryRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/DirectoryRolesRequestBuilder.java index 8f8775e4797..87441592ddb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroles/DirectoryRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/DirectoryRolesRequestBuilder.java @@ -184,7 +184,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directoryRoles", 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/directoryroles/item/DirectoryRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/DirectoryRoleItemRequestBuilder.java index 3393646d6c9..ad2b4c2a5af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/DirectoryRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/DirectoryRoleItemRequestBuilder.java @@ -181,7 +181,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}/directoryRoles/{directoryRole%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -224,7 +224,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DirectoryRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directoryRoles/{directoryRole%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/directoryroles/item/members/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/members/ref/RefRequestBuilder.java index e94fb388b62..df9eda3cf16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/members/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/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}/directoryRoles/{directoryRole%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/directoryRoles/{directoryRole%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}/directoryRoles/{directoryRole%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/directoryroles/item/scopedmembers/ScopedMembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/scopedmembers/ScopedMembersRequestBuilder.java index 2c8b7266135..e30bb9c07b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/scopedmembers/ScopedMembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/scopedmembers/ScopedMembersRequestBuilder.java @@ -146,7 +146,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}/directoryRoles/{directoryRole%2Did}/scopedMembers", 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/directoryroles/item/scopedmembers/item/ScopedRoleMembershipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/scopedmembers/item/ScopedRoleMembershipItemRequestBuilder.java index 9bfd4c8c31e..e10d5100629 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/scopedmembers/item/ScopedRoleMembershipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroles/item/scopedmembers/item/ScopedRoleMembershipItemRequestBuilder.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}/directoryRoles/{directoryRole%2Did}/scopedMembers/{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; @@ -159,7 +159,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}/directoryRoles/{directoryRole%2Did}/scopedMembers/{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/directoryroleswithroletemplateid/DirectoryRolesWithRoleTemplateIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroleswithroletemplateid/DirectoryRolesWithRoleTemplateIdRequestBuilder.java index e3360433772..500b0fe7c3a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroleswithroletemplateid/DirectoryRolesWithRoleTemplateIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroleswithroletemplateid/DirectoryRolesWithRoleTemplateIdRequestBuilder.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}/directoryRoles(roleTemplateId='{roleTemplateId}')", 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 DirectoryRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directoryRoles(roleTemplateId='{roleTemplateId}')", 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/directoryroletemplates/DirectoryRoleTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/DirectoryRoleTemplatesRequestBuilder.java index 2bcdc1d60c3..b2b98dec3e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/DirectoryRoleTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/DirectoryRoleTemplatesRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectoryRoleTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directoryRoleTemplates", 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/directoryroletemplates/item/DirectoryRoleTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/item/DirectoryRoleTemplateItemRequestBuilder.java index 53a21cc51bb..1203a981fd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/item/DirectoryRoleTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directoryroletemplates/item/DirectoryRoleTemplateItemRequestBuilder.java @@ -163,7 +163,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}/directoryRoleTemplates/{directoryRoleTemplate%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DirectoryRoleTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directoryRoleTemplates/{directoryRoleTemplate%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/directorysettingtemplates/DirectorySettingTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/DirectorySettingTemplatesRequestBuilder.java index 60a0f1c7ee7..580c70a7c80 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/DirectorySettingTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/DirectorySettingTemplatesRequestBuilder.java @@ -182,7 +182,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectorySettingTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/directorySettingTemplates", 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/directorysettingtemplates/item/DirectorySettingTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/item/DirectorySettingTemplateItemRequestBuilder.java index 0126c0cb541..803e26befa5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/item/DirectorySettingTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/directorysettingtemplates/item/DirectorySettingTemplateItemRequestBuilder.java @@ -163,7 +163,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}/directorySettingTemplates/{directorySettingTemplate%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DirectorySettingTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/directorySettingTemplates/{directorySettingTemplate%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/domaindnsrecords/DomainDnsRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domaindnsrecords/DomainDnsRecordsRequestBuilder.java index 8c93370ca36..0b540b5cacf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domaindnsrecords/DomainDnsRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domaindnsrecords/DomainDnsRecordsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DomainDnsRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/domainDnsRecords", 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/domaindnsrecords/item/DomainDnsRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domaindnsrecords/item/DomainDnsRecordItemRequestBuilder.java index 208ccb08f51..53e102c3b53 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domaindnsrecords/item/DomainDnsRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domaindnsrecords/item/DomainDnsRecordItemRequestBuilder.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}/domainDnsRecords/{domainDnsRecord%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 DomainDnsRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/domainDnsRecords/{domainDnsRecord%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/domains/DomainsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/DomainsRequestBuilder.java index 3dd73fc3fd2..a2398c2c5fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/DomainsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/DomainsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Domain body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/domains", 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/domains/item/DomainItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/DomainItemRequestBuilder.java index 1bad7f57521..4db6a434434 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/DomainItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/DomainItemRequestBuilder.java @@ -203,7 +203,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}/domains/{domain%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -246,7 +246,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Domain body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/domains/{domain%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/domains/item/federationconfiguration/FederationConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/federationconfiguration/FederationConfigurationRequestBuilder.java index bf492e0308a..3c7b2178bb7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/federationconfiguration/FederationConfigurationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/federationconfiguration/FederationConfigurationRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final InternalDomainFederation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/domains/{domain%2Did}/federationConfiguration", 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/domains/item/federationconfiguration/item/InternalDomainFederationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/federationconfiguration/item/InternalDomainFederationItemRequestBuilder.java index 0d71713e497..54268e9a568 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/federationconfiguration/item/InternalDomainFederationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/federationconfiguration/item/InternalDomainFederationItemRequestBuilder.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}/domains/{domain%2Did}/federationConfiguration/{internalDomainFederation%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 InternalDomainFederation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/domains/{domain%2Did}/federationConfiguration/{internalDomainFederation%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/domains/item/serviceconfigurationrecords/ServiceConfigurationRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/serviceconfigurationrecords/ServiceConfigurationRecordsRequestBuilder.java index dae7b1b26dc..3eabcb76dfd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/serviceconfigurationrecords/ServiceConfigurationRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/serviceconfigurationrecords/ServiceConfigurationRecordsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DomainDnsRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/domains/{domain%2Did}/serviceConfigurationRecords", 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/domains/item/serviceconfigurationrecords/item/DomainDnsRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/serviceconfigurationrecords/item/DomainDnsRecordItemRequestBuilder.java index f15ca5a3df6..65fd221e615 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/serviceconfigurationrecords/item/DomainDnsRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/serviceconfigurationrecords/item/DomainDnsRecordItemRequestBuilder.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}/domains/{domain%2Did}/serviceConfigurationRecords/{domainDnsRecord%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 DomainDnsRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/domains/{domain%2Did}/serviceConfigurationRecords/{domainDnsRecord%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/domains/item/sharedemaildomaininvitations/SharedEmailDomainInvitationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/sharedemaildomaininvitations/SharedEmailDomainInvitationsRequestBuilder.java index 42a521e34f0..8dd9dc7a64b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/sharedemaildomaininvitations/SharedEmailDomainInvitationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/sharedemaildomaininvitations/SharedEmailDomainInvitationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharedEmailDomainInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/domains/{domain%2Did}/sharedEmailDomainInvitations", 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/domains/item/sharedemaildomaininvitations/item/SharedEmailDomainInvitationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/sharedemaildomaininvitations/item/SharedEmailDomainInvitationItemRequestBuilder.java index 871e10cc981..0232dc176ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/sharedemaildomaininvitations/item/SharedEmailDomainInvitationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/sharedemaildomaininvitations/item/SharedEmailDomainInvitationItemRequestBuilder.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}/domains/{domain%2Did}/sharedEmailDomainInvitations/{sharedEmailDomainInvitation%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 SharedEmailDomainInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/domains/{domain%2Did}/sharedEmailDomainInvitations/{sharedEmailDomainInvitation%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/domains/item/verificationdnsrecords/VerificationDnsRecordsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/verificationdnsrecords/VerificationDnsRecordsRequestBuilder.java index c029d020915..ab5b2260922 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/verificationdnsrecords/VerificationDnsRecordsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/verificationdnsrecords/VerificationDnsRecordsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DomainDnsRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/domains/{domain%2Did}/verificationDnsRecords", 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/domains/item/verificationdnsrecords/item/DomainDnsRecordItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/domains/item/verificationdnsrecords/item/DomainDnsRecordItemRequestBuilder.java index 9413737ef52..1c1e54223df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/domains/item/verificationdnsrecords/item/DomainDnsRecordItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/domains/item/verificationdnsrecords/item/DomainDnsRecordItemRequestBuilder.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}/domains/{domain%2Did}/verificationDnsRecords/{domainDnsRecord%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 DomainDnsRecord body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/domains/{domain%2Did}/verificationDnsRecords/{domainDnsRecord%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/drives/DrivesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/DrivesRequestBuilder.java index 4382fcb71ba..4c7300d9b78 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/DrivesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/DrivesRequestBuilder.java @@ -135,7 +135,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Drive body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives", 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/drives/item/DriveItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/DriveItemRequestBuilder.java index 5a8cf8c3a9b..443ce30ff5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/DriveItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/DriveItemRequestBuilder.java @@ -226,7 +226,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}/drives/{drive%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -269,7 +269,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Drive body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%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/drives/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/ActivitiesRequestBuilder.java index 982ab5b52c8..01921cd780a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/ActivitiesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/activities", 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/drives/item/activities/item/ItemActivityOLDItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/item/ItemActivityOLDItemRequestBuilder.java index 41e7fd071e1..790b8f4ff3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/item/ItemActivityOLDItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/item/ItemActivityOLDItemRequestBuilder.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}/drives/{drive%2Did}/activities/{itemActivityOLD%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 ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/activities/{itemActivityOLD%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/drives/item/activities/item/driveitem/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/item/driveitem/content/ContentRequestBuilder.java index 6ef9581c706..810fd290e31 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/item/driveitem/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/activities/item/driveitem/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/activities/{itemActivityOLD%2Did}/driveItem/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/bundles/BundlesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/bundles/BundlesRequestBuilder.java index fc9a03a2473..b2f0412abdd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/bundles/BundlesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/bundles/BundlesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/bundles", 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/drives/item/bundles/item/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/bundles/item/content/ContentRequestBuilder.java index d69f88d3e7e..ec9e68e1ce4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/bundles/item/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/bundles/item/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/bundles/{driveItem%2Did}/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 4c00f9b1eef..4ec3caebf42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/createdByUser/mailboxSettings", 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/drives/item/following/item/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/following/item/content/ContentRequestBuilder.java index dcab80a0227..f1e32409f96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/following/item/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/following/item/content/ContentRequestBuilder.java @@ -124,7 +124,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/following/{driveItem%2Did}/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/ItemsRequestBuilder.java index fb43ffb8548..a78bd5e24e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/ItemsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items", 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/drives/item/items/item/DriveItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/DriveItemItemRequestBuilder.java index b942c271287..994852b6467 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/DriveItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/DriveItemItemRequestBuilder.java @@ -418,7 +418,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}/drives/{drive%2Did}/items/{driveItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -461,7 +461,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DriveItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%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/drives/item/items/item/analytics/AnalyticsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/AnalyticsRequestBuilder.java index 9fd918d6f9a..062a2a09301 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/AnalyticsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/AnalyticsRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics", 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 ItemAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics", 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/drives/item/items/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java index 7098281ab9e..1e7d5ae0548 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivityStat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics/itemActivityStats", 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/drives/item/items/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.java index 09b3df6557d..a364afd67ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%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 ItemActivityStat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%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/drives/item/items/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java index 06d326c7797..7d88808d696 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities", 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/drives/item/items/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.java index 0c9fe5f3979..0be9b0350af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%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 ItemActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%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/drives/item/items/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java index 2f9d2bb33b5..0360e38768b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%2Did}/driveItem/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/children/ChildrenRequestBuilder.java index bceda568e20..9712ea7fda2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/children/ChildrenRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/children", 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/drives/item/items/item/children/item/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/children/item/content/ContentRequestBuilder.java index 98743321a78..c1c7263044f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/children/item/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/children/item/content/ContentRequestBuilder.java @@ -124,7 +124,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/children/{driveItem%2Did1}/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/content/ContentRequestBuilder.java index b75b1f90ce1..7d900ec2961 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 0a393ca1f18..eb76e9f0dd9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/createdByUser/mailboxSettings", 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/drives/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 36bd8342440..c1bc95ad871 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/lastModifiedByUser/mailboxSettings", 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/drives/item/items/item/permissions/PermissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/PermissionsRequestBuilder.java index f72860e2443..d287d9694bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/PermissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/PermissionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Permission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/permissions", 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/drives/item/items/item/permissions/item/PermissionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/item/PermissionItemRequestBuilder.java index 03a6ea91df2..c1131460b82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/item/PermissionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/permissions/item/PermissionItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/permissions/{permission%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 Permission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/permissions/{permission%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/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java index 6be2125adec..dd2548e8380 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java @@ -79,23 +79,23 @@ public ItemRetentionLabel get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, ItemRetentionLabel::createFromDiscriminatorValue); } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body) { return patch(body, null); } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -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}/drives/{drive%2Did}/items/{driveItem%2Did}/retentionLabel", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -146,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @return a {@link RequestInformation} */ @@ -155,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. + * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -163,7 +163,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ItemRetentionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/retentionLabel", 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/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java index bc40436d449..f37460db4a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Subscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/subscriptions", 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/drives/item/items/item/subscriptions/item/SubscriptionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/item/SubscriptionItemRequestBuilder.java index 69bef3ac8f8..a0366febd8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/item/SubscriptionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/subscriptions/item/SubscriptionItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/subscriptions/{subscription%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 Subscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/subscriptions/{subscription%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/drives/item/items/item/thumbnails/ThumbnailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/thumbnails/ThumbnailsRequestBuilder.java index ec60e7275cc..c60c04e6b35 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/thumbnails/ThumbnailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/thumbnails/ThumbnailsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ThumbnailSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/thumbnails", 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/drives/item/items/item/thumbnails/item/ThumbnailSetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/thumbnails/item/ThumbnailSetItemRequestBuilder.java index 65b0d0d7ab7..364574d5cc1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/thumbnails/item/ThumbnailSetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/thumbnails/item/ThumbnailSetItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/thumbnails/{thumbnailSet%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 ThumbnailSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/thumbnails/{thumbnailSet%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/drives/item/items/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/versions/VersionsRequestBuilder.java index 384d018f195..5bdf43739c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/versions/VersionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DriveItemVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%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/drives/item/items/item/versions/item/DriveItemVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/versions/item/DriveItemVersionItemRequestBuilder.java index 7f737e9ae08..3219fdc620f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/versions/item/DriveItemVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/versions/item/DriveItemVersionItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/versions/{driveItemVersion%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 DriveItemVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/versions/{driveItemVersion%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/drives/item/items/item/workbook/WorkbookRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/WorkbookRequestBuilder.java index 3e232924b17..e498e45ba17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/WorkbookRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/WorkbookRequestBuilder.java @@ -228,7 +228,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -271,7 +271,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Workbook body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook", 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/drives/item/items/item/workbook/application/ApplicationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/application/ApplicationRequestBuilder.java index af9b2da5b67..0c95539f8e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/application/ApplicationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/application/ApplicationRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/application", 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 WorkbookApplication body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/application", 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/drives/item/items/item/workbook/comments/CommentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/CommentsRequestBuilder.java index 0c03d826b59..bfb1e2f1c76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/CommentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/CommentsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookComment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments", 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/drives/item/items/item/workbook/comments/item/WorkbookCommentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/WorkbookCommentItemRequestBuilder.java index 3935d71c2b0..182b025e8f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/WorkbookCommentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/WorkbookCommentItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%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 WorkbookComment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%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/drives/item/items/item/workbook/comments/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/RepliesRequestBuilder.java index 1305c5a8b28..cba5aa6497d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/RepliesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookCommentReply body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies", 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/drives/item/items/item/workbook/comments/item/replies/item/WorkbookCommentReplyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/WorkbookCommentReplyItemRequestBuilder.java index 49b2e2f6366..be91aa7736c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/WorkbookCommentReplyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/WorkbookCommentReplyItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%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 WorkbookCommentReply body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%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/drives/item/items/item/workbook/comments/item/replies/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/TaskRequestBuilder.java index ed43b65e191..3375c3d88f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/TaskRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task", 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 WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task", 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/drives/item/items/item/workbook/comments/item/replies/item/task/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/ChangesRequestBuilder.java index 31fa1475772..aaa580034b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/ChangesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/changes", 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/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java index 2fdd748acb4..0a0747a196f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/changes/{workbookDocumentTaskChange%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 WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/changes/{workbookDocumentTaskChange%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/drives/item/items/item/workbook/comments/item/replies/item/task/comment/CommentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/CommentRequestBuilder.java index a2ac952975f..f65cf4036d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/CommentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/CommentRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/comment", 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 WorkbookComment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/comment", 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/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/TaskRequestBuilder.java index f4ec2f4227a..145e81dab12 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/TaskRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/comment/task", 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 WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/comment/task", 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/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/ChangesRequestBuilder.java index 90a37b836a6..2e5a809b779 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/ChangesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/comment/task/changes", 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/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java index 70164215dd9..4bd79280d2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/replies/item/task/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/comment/task/changes/{workbookDocumentTaskChange%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 WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/replies/{workbookCommentReply%2Did}/task/comment/task/changes/{workbookDocumentTaskChange%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/drives/item/items/item/workbook/comments/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/TaskRequestBuilder.java index abe4943d06c..9b94e71d9ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/TaskRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task", 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 WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task", 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/drives/item/items/item/workbook/comments/item/task/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/changes/ChangesRequestBuilder.java index f8f4083b007..19a0870fb3a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/changes/ChangesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/changes", 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/drives/item/items/item/workbook/comments/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java index 68d4e1ee491..1244ebf1568 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/changes/{workbookDocumentTaskChange%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 WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/changes/{workbookDocumentTaskChange%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/drives/item/items/item/workbook/comments/item/task/comment/CommentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/CommentRequestBuilder.java index d2b8c4634da..2d4004c78a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/CommentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/CommentRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment", 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 WorkbookComment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment", 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/drives/item/items/item/workbook/comments/item/task/comment/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/RepliesRequestBuilder.java index 424fb2684c5..55e4993b8ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/RepliesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookCommentReply body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies", 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/drives/item/items/item/workbook/comments/item/task/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.java index 6a073cbaa85..a5fb999c7aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies/{workbookCommentReply%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 WorkbookCommentReply body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies/{workbookCommentReply%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/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/TaskRequestBuilder.java index dc59d70782e..210536f9cb6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/TaskRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies/{workbookCommentReply%2Did}/task", 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 WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies/{workbookCommentReply%2Did}/task", 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/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/ChangesRequestBuilder.java index 897fda8e888..48f0b27fdaa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/ChangesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies/{workbookCommentReply%2Did}/task/changes", 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/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java index eb1ce63ce26..16528670313 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/comments/item/task/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies/{workbookCommentReply%2Did}/task/changes/{workbookDocumentTaskChange%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 WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/comments/{workbookComment%2Did}/task/comment/replies/{workbookCommentReply%2Did}/task/changes/{workbookDocumentTaskChange%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/drives/item/items/item/workbook/functions/FunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/functions/FunctionsRequestBuilder.java index ecfd5e009f4..01865d829a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/functions/FunctionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/functions/FunctionsRequestBuilder.java @@ -3410,7 +3410,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/functions", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -3453,7 +3453,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookFunctions body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/functions", 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/drives/item/items/item/workbook/names/NamesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/NamesRequestBuilder.java index 6a694e108a8..0d13a011d92 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/NamesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/NamesRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookNamedItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names", 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/drives/item/items/item/workbook/names/item/WorkbookNamedItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/item/WorkbookNamedItemItemRequestBuilder.java index dd99e47006b..64933739492 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/item/WorkbookNamedItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/item/WorkbookNamedItemItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%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 WorkbookNamedItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%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/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java index 155a086d827..3d468aca617 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/names/item/range/RangeRequestBuilder.java @@ -36,21 +36,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()", rawUrl); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get() { return get(null); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -60,7 +60,7 @@ public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.C return this.requestAdapter.send(requestInfo, errorMapping, WorkbookRange::createFromDiscriminatorValue); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/operations/OperationsRequestBuilder.java index b6454abbe6b..c015ae7c9c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/operations/OperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/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/drives/item/items/item/workbook/operations/item/WorkbookOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/operations/item/WorkbookOperationItemRequestBuilder.java index 0dee04790b8..b15f394e75e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/operations/item/WorkbookOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/operations/item/WorkbookOperationItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations/{workbookOperation%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 WorkbookOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/operations/{workbookOperation%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/drives/item/items/item/workbook/tables/TablesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/TablesRequestBuilder.java index 735d3450059..ba8b53df016 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/TablesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/TablesRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTable body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables", 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/drives/item/items/item/workbook/tables/item/WorkbookTableItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/WorkbookTableItemRequestBuilder.java index 67f3acd075d..d4d404e8c37 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/WorkbookTableItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/WorkbookTableItemRequestBuilder.java @@ -221,7 +221,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -264,7 +264,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookTable body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%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/drives/item/items/item/workbook/tables/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/ColumnsRequestBuilder.java index 063954e5902..f67199c84a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/ColumnsRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns", 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/drives/item/items/item/workbook/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java index dde65db7b92..3b5fdb48069 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java @@ -167,7 +167,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -210,7 +210,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%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/drives/item/items/item/workbook/tables/item/columns/item/filter/FilterRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/FilterRequestBuilder.java index 5a57a8368be..558631b8ad2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/FilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/item/filter/FilterRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter", 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 WorkbookFilter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter", 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/drives/item/items/item/workbook/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.java index 54830c152c7..d1cdd4b931c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})/filter", 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 WorkbookFilter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/columns/itemAt(index={index})/filter", 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/drives/item/items/item/workbook/tables/item/rows/RowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/rows/RowsRequestBuilder.java index cad86ef9711..7d2caadce87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/rows/RowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/rows/RowsRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableRow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows", 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/drives/item/items/item/workbook/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.java index 456cffd809b..be32c5a868d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/{workbookTableRow%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 WorkbookTableRow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/rows/{workbookTableRow%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/drives/item/items/item/workbook/tables/item/sort/SortRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/sort/SortRequestBuilder.java index b8082371075..01870bcbbd5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/sort/SortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/item/sort/SortRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/sort", 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 WorkbookTableSort body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/{workbookTable%2Did}/sort", 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/drives/item/items/item/workbook/tables/itematwithindex/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/columns/ColumnsRequestBuilder.java index 2acdf6be6a8..d7495879a26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/columns/ColumnsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/columns", 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/drives/item/items/item/workbook/tables/itematwithindex/rows/RowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/rows/RowsRequestBuilder.java index 678aed0a778..11d90d31dd6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/rows/RowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/rows/RowsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableRow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/rows", 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/drives/item/items/item/workbook/tables/itematwithindex/sort/SortRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/sort/SortRequestBuilder.java index 2f2790f27c2..15d5088ab0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/sort/SortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/itematwithindex/sort/SortRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/sort", 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 WorkbookTableSort body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/itemAt(index={index})/sort", 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/drives/item/items/item/workbook/worksheets/WorksheetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/WorksheetsRequestBuilder.java index 2b3c1f49266..6536a766b54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/WorksheetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/WorksheetsRequestBuilder.java @@ -72,7 +72,7 @@ public WorksheetsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * Retrieve a list of worksheet objects. * @return a {@link WorkbookWorksheetCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookWorksheetCollectionResponse get() { @@ -83,7 +83,7 @@ public WorkbookWorksheetCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookWorksheetCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookWorksheetCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookWorksheet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets", 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/drives/item/items/item/workbook/worksheets/item/WorkbookWorksheetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/WorkbookWorksheetItemRequestBuilder.java index 2279319fce4..89f84aeb6fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/WorkbookWorksheetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/WorkbookWorksheetItemRequestBuilder.java @@ -219,7 +219,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -262,7 +262,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookWorksheet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%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/drives/item/items/item/workbook/worksheets/item/charts/ChartsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/ChartsRequestBuilder.java index 380ca932790..83373dc4bee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/ChartsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/ChartsRequestBuilder.java @@ -179,7 +179,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookChart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts", 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/drives/item/items/item/workbook/worksheets/item/charts/item/WorkbookChartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/WorkbookChartItemRequestBuilder.java index ade0926f102..760d70a76fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/WorkbookChartItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/WorkbookChartItemRequestBuilder.java @@ -251,7 +251,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -294,7 +294,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/AxesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/AxesRequestBuilder.java index 4387f1ce206..3d7f4fd7b90 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/AxesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/AxesRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes", 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 WorkbookChartAxes body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/CategoryAxisRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/CategoryAxisRequestBuilder.java index 796585516fe..92ea2fbb8fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/CategoryAxisRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/CategoryAxisRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis", 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 WorkbookChartAxis body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/FormatRequestBuilder.java index 72c41c9330c..a21667eb1bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format", 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 WorkbookChartAxisFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/font/FontRequestBuilder.java index a052988eae6..ce5fed25137 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/line/LineRequestBuilder.java index 2ebf81ac1cf..36ca69ae455 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/format/line/LineRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format/line", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/MajorGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/MajorGridlinesRequestBuilder.java index 74c2e8f52eb..c9d68d587cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/MajorGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/MajorGridlinesRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines", 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 WorkbookChartGridlines body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/FormatRequestBuilder.java index 112e9bc406d..c3d88adddc7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines/format", 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 WorkbookChartGridlinesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/line/LineRequestBuilder.java index c62251dda2e..84bc662b161 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/majorgridlines/format/line/LineRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines/format/line", 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 WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/majorGridlines/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/MinorGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/MinorGridlinesRequestBuilder.java index 9e9e678ffdd..839df8de4d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/MinorGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/MinorGridlinesRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartGridlines body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/FormatRequestBuilder.java index e337175adf5..b0aac6a4ec4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines/format", 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 WorkbookChartGridlinesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/line/LineRequestBuilder.java index 1ceff59abfd..c5e6b0272cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/minorgridlines/format/line/LineRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines/format/line", 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 WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/minorGridlines/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/TitleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/TitleRequestBuilder.java index 068e26c4dba..3931281f822 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/TitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/TitleRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartAxisTitle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/FormatRequestBuilder.java index aea75b0d30c..2904465f4b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title/format", 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 WorkbookChartAxisTitleFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/font/FontRequestBuilder.java index a169dd25808..ffdf65a1644 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/categoryaxis/title/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/categoryAxis/title/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/SeriesAxisRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/SeriesAxisRequestBuilder.java index 76f2f52d86c..60cc22497d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/SeriesAxisRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/SeriesAxisRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis", 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 WorkbookChartAxis body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/FormatRequestBuilder.java index a8fd72171b8..11c2e1adb8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format", 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 WorkbookChartAxisFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/font/FontRequestBuilder.java index 27c9a105866..8052ff80a27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/line/LineRequestBuilder.java index 747e3341a6d..fa881aaf0e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/format/line/LineRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format/line", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/MajorGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/MajorGridlinesRequestBuilder.java index 60ce965d4e8..1850df77e13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/MajorGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/MajorGridlinesRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines", 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 WorkbookChartGridlines body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/FormatRequestBuilder.java index 7d978e0c14f..7e26fb7f3d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines/format", 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 WorkbookChartGridlinesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/line/LineRequestBuilder.java index 6d4aa4d1a80..de18f245e15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/majorgridlines/format/line/LineRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines/format/line", 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 WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/majorGridlines/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/MinorGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/MinorGridlinesRequestBuilder.java index f0cab05eec5..c2f658e5755 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/MinorGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/MinorGridlinesRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartGridlines body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/FormatRequestBuilder.java index fdb4e04ad9e..b607d96696b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines/format", 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 WorkbookChartGridlinesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/line/LineRequestBuilder.java index 0d97a17a3ed..72d32cf79fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/minorgridlines/format/line/LineRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines/format/line", 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 WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/minorGridlines/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/TitleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/TitleRequestBuilder.java index 54e1c5c5739..f18c3905733 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/TitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/TitleRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartAxisTitle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/FormatRequestBuilder.java index 48a3454bc65..4eff5cf0e71 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title/format", 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 WorkbookChartAxisTitleFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/font/FontRequestBuilder.java index 1f51d8bdafc..e6783b601dd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/seriesaxis/title/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/seriesAxis/title/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/ValueAxisRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/ValueAxisRequestBuilder.java index f713fb4ccc2..439c548b437 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/ValueAxisRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/ValueAxisRequestBuilder.java @@ -156,7 +156,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -199,7 +199,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartAxis body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/FormatRequestBuilder.java index 2832c3a50c7..95637daf912 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format", 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 WorkbookChartAxisFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/font/FontRequestBuilder.java index ae0a0e2629b..a8d0e37a5fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/line/LineRequestBuilder.java index 2264d578f53..14cc43ffd86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/format/line/LineRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format/line", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/MajorGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/MajorGridlinesRequestBuilder.java index d4a51539167..c447addab36 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/MajorGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/MajorGridlinesRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines", 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 WorkbookChartGridlines body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/FormatRequestBuilder.java index 4b64b8973a6..a29edd9f4ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines/format", 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 WorkbookChartGridlinesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/line/LineRequestBuilder.java index d3c1a902935..c41699746e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/majorgridlines/format/line/LineRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines/format/line", 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 WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/majorGridlines/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/MinorGridlinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/MinorGridlinesRequestBuilder.java index 71c37b112f5..79fcf463ff0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/MinorGridlinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/MinorGridlinesRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartGridlines body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/FormatRequestBuilder.java index d661d062128..b9be6be2997 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines/format", 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 WorkbookChartGridlinesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/line/LineRequestBuilder.java index 0e6dcf5a7b6..b27359290e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/minorgridlines/format/line/LineRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines/format/line", 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 WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/minorGridlines/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/TitleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/TitleRequestBuilder.java index 2b4b22997ff..a6d5d7d2c55 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/TitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/TitleRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartAxisTitle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/FormatRequestBuilder.java index 8c2329ade37..7651973b00e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title/format", 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 WorkbookChartAxisTitleFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/font/FontRequestBuilder.java index 7fe94a50c47..6b926c3bde4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/axes/valueaxis/title/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/axes/valueAxis/title/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/DataLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/DataLabelsRequestBuilder.java index 39a60f6cffe..07710e9d59f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/DataLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/DataLabelsRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartDataLabels body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels", 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/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/FormatRequestBuilder.java index 531f26283d9..96feb4d669c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format", 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 WorkbookChartDataLabelFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/fill/FillRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/fill/FillRequestBuilder.java index 6eb9c339efb..1687596df69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/fill/FillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/fill/FillRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/fill", 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 WorkbookChartFill body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/fill", 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/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/font/FontRequestBuilder.java index 7cfc8fc0c28..86f8b415ee8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/datalabels/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/dataLabels/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/FormatRequestBuilder.java index 910306a3000..e0dd9df478d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format", 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 WorkbookChartAreaFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/FillRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/FillRequestBuilder.java index c42a4eaa0ca..3f0f2a79d8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/FillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/FillRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/fill", 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 WorkbookChartFill body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/fill", 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/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/FontRequestBuilder.java index d0d985c5d0f..41f1e8a83b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/legend/LegendRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/LegendRequestBuilder.java index 8ab16d241a6..933c60a0187 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/LegendRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/LegendRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartLegend body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend", 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/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/FormatRequestBuilder.java index 05d9ee2ed10..33c0118c993 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format", 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 WorkbookChartLegendFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/FillRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/FillRequestBuilder.java index d115e2155f9..e6d7d9420b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/FillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/FillRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/fill", 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 WorkbookChartFill body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/fill", 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/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/FontRequestBuilder.java index e671a665c2f..5440b66efce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/legend/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/SeriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/SeriesRequestBuilder.java index b7702d9e49e..4c9e9eddad6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/SeriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/SeriesRequestBuilder.java @@ -64,7 +64,7 @@ public SeriesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Retrieve a list of chartseries objects. * @return a {@link WorkbookChartSeriesCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartSeriesCollectionResponse get() { @@ -75,7 +75,7 @@ public WorkbookChartSeriesCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookChartSeriesCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartSeriesCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -159,7 +159,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartSeries body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/WorkbookChartSeriesItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/WorkbookChartSeriesItemRequestBuilder.java index a3097483c60..f79a112667c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/WorkbookChartSeriesItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/WorkbookChartSeriesItemRequestBuilder.java @@ -138,7 +138,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartSeries body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/FormatRequestBuilder.java index 527ba3dde6d..689a6499d74 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format", 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 WorkbookChartSeriesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/FillRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/FillRequestBuilder.java index 45af8d33185..c82f7ac6de9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/FillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/FillRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/fill", 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 WorkbookChartFill body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/fill", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/LineRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/LineRequestBuilder.java index 232a943a9fe..06f29f40df7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/LineRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/LineRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/line", 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 WorkbookChartLineFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/format/line", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/PointsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/PointsRequestBuilder.java index 3affdf59ce8..05a89f624a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/PointsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/PointsRequestBuilder.java @@ -61,21 +61,21 @@ public PointsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @return a {@link WorkbookChartPointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartPointCollectionResponse get() { return get(null); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookChartPointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartPointCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -122,7 +122,7 @@ public WorkbookChartPoint post(@jakarta.annotation.Nonnull final WorkbookChartPo return this.requestAdapter.send(requestInfo, errorMapping, WorkbookChartPoint::createFromDiscriminatorValue); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -159,7 +159,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartPoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points", 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); @@ -176,7 +176,7 @@ public PointsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String raw return new PointsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/WorkbookChartPointItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/WorkbookChartPointItemRequestBuilder.java index 92703e1a33f..7ec77dfda3a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/WorkbookChartPointItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/WorkbookChartPointItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%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 WorkbookChartPoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/FormatRequestBuilder.java index e0208a29d47..63d74d1df0d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format", 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 WorkbookChartPointFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/FillRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/FillRequestBuilder.java index c49f9805886..a68d57db226 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/FillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/FillRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format/fill", 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 WorkbookChartFill body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/{workbookChartPoint%2Did}/format/fill", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itematwithindex/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itematwithindex/format/FormatRequestBuilder.java index db71a1bd3a5..9d084fc26f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itematwithindex/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/itematwithindex/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/itemAt(index={index})/format", 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 WorkbookChartPointFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points/itemAt(index={index})/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/format/FormatRequestBuilder.java index b6701f7f858..e0bba32d9dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})/format", 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 WorkbookChartSeriesFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/points/PointsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/points/PointsRequestBuilder.java index 439db723aba..acd9ea855b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/points/PointsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/series/itematwithindex/points/PointsRequestBuilder.java @@ -38,21 +38,21 @@ public PointsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})/points{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @return a {@link WorkbookChartPointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartPointCollectionResponse get() { return get(null); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookChartPointCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartPointCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -89,7 +89,7 @@ public WorkbookChartPoint post(@jakarta.annotation.Nonnull final WorkbookChartPo return this.requestAdapter.send(requestInfo, errorMapping, WorkbookChartPoint::createFromDiscriminatorValue); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -97,7 +97,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartPoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/itemAt(index={index})/points", 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); @@ -143,7 +143,7 @@ public PointsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String raw return new PointsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of chartpoint objects. + * Retrieve a list of chartpoints objects. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/TitleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/TitleRequestBuilder.java index 923f4a723d6..6f570505984 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/TitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/TitleRequestBuilder.java @@ -129,7 +129,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartTitle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title", 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/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/FormatRequestBuilder.java index 957ad3bfd66..5b90e10214c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format", 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 WorkbookChartTitleFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format", 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/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/FillRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/FillRequestBuilder.java index 91ec9ae4c74..ad41cfef6de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/FillRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/FillRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/fill", 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 WorkbookChartFill body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/fill", 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/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/FontRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/FontRequestBuilder.java index 08a946db90d..1e92c2225e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/FontRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/FontRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/font", 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 WorkbookChartFont body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/title/format/font", 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/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/axes/AxesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/axes/AxesRequestBuilder.java index 9b949ef897e..d29f8f8718a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/axes/AxesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/axes/AxesRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/axes", 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 WorkbookChartAxes body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/axes", 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/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/datalabels/DataLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/datalabels/DataLabelsRequestBuilder.java index be6cc2df9bb..26bce5af6c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/datalabels/DataLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/datalabels/DataLabelsRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/dataLabels", 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 WorkbookChartDataLabels body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/dataLabels", 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/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/format/FormatRequestBuilder.java index 940e5df76f9..822e3295745 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/format", 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 WorkbookChartAreaFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/format", 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/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/legend/LegendRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/legend/LegendRequestBuilder.java index bcb762cc9fc..3726c571399 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/legend/LegendRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/legend/LegendRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/legend", 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 WorkbookChartLegend body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/legend", 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/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/series/SeriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/series/SeriesRequestBuilder.java index 809ee7e7ef4..7cce8c867ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/series/SeriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/series/SeriesRequestBuilder.java @@ -41,7 +41,7 @@ public SeriesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Retrieve a list of chartseries objects. * @return a {@link WorkbookChartSeriesCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartSeriesCollectionResponse get() { @@ -52,7 +52,7 @@ public WorkbookChartSeriesCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookChartSeriesCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartSeriesCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartSeries body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/series", 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/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/title/TitleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/title/TitleRequestBuilder.java index 958e1277576..198ea15a24e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/title/TitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itematwithindex/title/TitleRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/title", 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 WorkbookChartTitle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/itemAt(index={index})/title", 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/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/axes/AxesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/axes/AxesRequestBuilder.java index d53bd4e101d..19376561cbb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/axes/AxesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/axes/AxesRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/axes", 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 WorkbookChartAxes body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/axes", 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/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/datalabels/DataLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/datalabels/DataLabelsRequestBuilder.java index 94375e2193d..6d71771db40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/datalabels/DataLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/datalabels/DataLabelsRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/dataLabels", 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 WorkbookChartDataLabels body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/dataLabels", 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/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/format/FormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/format/FormatRequestBuilder.java index f0a0b616ff1..f7a2e3352fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/format/FormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/format/FormatRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/format", 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 WorkbookChartAreaFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/format", 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/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/legend/LegendRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/legend/LegendRequestBuilder.java index 0672ffec132..8ac40d94a75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/legend/LegendRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/legend/LegendRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/legend", 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 WorkbookChartLegend body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/legend", 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/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/series/SeriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/series/SeriesRequestBuilder.java index 9d8c64dda8b..24f9bd4ca7c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/series/SeriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/series/SeriesRequestBuilder.java @@ -41,7 +41,7 @@ public SeriesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja * Retrieve a list of chartseries objects. * @return a {@link WorkbookChartSeriesCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartSeriesCollectionResponse get() { @@ -52,7 +52,7 @@ public WorkbookChartSeriesCollectionResponse get() { * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookChartSeriesCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookChartSeriesCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookChartSeries body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/series", 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/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/title/TitleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/title/TitleRequestBuilder.java index 9acd7f160c2..47b9cb7b005 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/title/TitleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/charts/itemwithname/title/TitleRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/title", 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 WorkbookChartTitle body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/item(name='{name}')/title", 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/drives/item/items/item/workbook/worksheets/item/names/NamesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/NamesRequestBuilder.java index 8ffcc6474da..8e107d67588 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/NamesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/NamesRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookNamedItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names", 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/drives/item/items/item/workbook/worksheets/item/names/item/WorkbookNamedItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/WorkbookNamedItemItemRequestBuilder.java index c6286b72413..a77d09b1cc9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/WorkbookNamedItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/WorkbookNamedItemItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%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 WorkbookNamedItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%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/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java index 184b87cf5a2..05077a7caef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/names/item/range/RangeRequestBuilder.java @@ -36,21 +36,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()", rawUrl); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get() { return get(null); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link WorkbookRange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -60,7 +60,7 @@ public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.C return this.requestAdapter.send(requestInfo, errorMapping, WorkbookRange::createFromDiscriminatorValue); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -68,7 +68,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of range object. + * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/pivottables/PivotTablesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/pivottables/PivotTablesRequestBuilder.java index 9e8b319dce1..006c7d148d2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/pivottables/PivotTablesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/pivottables/PivotTablesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookPivotTable body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables", 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/drives/item/items/item/workbook/worksheets/item/pivottables/item/WorkbookPivotTableItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/pivottables/item/WorkbookPivotTableItemRequestBuilder.java index 798df27af59..4a12fc69048 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/pivottables/item/WorkbookPivotTableItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/pivottables/item/WorkbookPivotTableItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables/{workbookPivotTable%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 WorkbookPivotTable body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/pivotTables/{workbookPivotTable%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/drives/item/items/item/workbook/worksheets/item/protection/ProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/protection/ProtectionRequestBuilder.java index 2f6e84c68cb..e45c205c82f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/protection/ProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/protection/ProtectionRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/protection", 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 WorkbookWorksheetProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/protection", 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/drives/item/items/item/workbook/worksheets/item/tables/TablesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/TablesRequestBuilder.java index 23343257523..a8da31c9af2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/TablesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/TablesRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTable body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables", 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/drives/item/items/item/workbook/worksheets/item/tables/item/WorkbookTableItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/WorkbookTableItemRequestBuilder.java index a5b97de2d94..dc2bd9194bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/WorkbookTableItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/WorkbookTableItemRequestBuilder.java @@ -215,7 +215,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -258,7 +258,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookTable body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%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/drives/item/items/item/workbook/worksheets/item/tables/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/ColumnsRequestBuilder.java index 5ad058a1e46..92cca2d2c3a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/ColumnsRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns", 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/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java index b045ef44917..862c31d4503 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/WorkbookTableColumnItemRequestBuilder.java @@ -167,7 +167,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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -210,7 +210,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%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/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/FilterRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/FilterRequestBuilder.java index fafe68c9f7b..329c196b0d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/FilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/FilterRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter", 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 WorkbookFilter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/{workbookTableColumn%2Did}/filter", 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/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.java index 294782cadaf..f7fdc7152c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/columns/itematwithindex/filter/FilterRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})/filter", 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 WorkbookFilter body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/columns/itemAt(index={index})/filter", 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/drives/item/items/item/workbook/worksheets/item/tables/item/rows/RowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/RowsRequestBuilder.java index b634d795232..f956cc2b22d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/RowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/RowsRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableRow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows", 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/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.java index a4a2b5f870f..ab881a2ba53 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/WorkbookTableRowItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/{workbookTableRow%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 WorkbookTableRow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/rows/{workbookTableRow%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/drives/item/items/item/workbook/worksheets/item/tables/item/sort/SortRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/SortRequestBuilder.java index 7eec33b4d78..450cd2ac222 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/SortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/item/sort/SortRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/sort", 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 WorkbookTableSort body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/{workbookTable%2Did}/sort", 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/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/columns/ColumnsRequestBuilder.java index dc2ab04acc1..5fd3e5e6ce6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/columns/ColumnsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/columns", 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/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/rows/RowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/rows/RowsRequestBuilder.java index 0e2b69f57b9..87ccfc9a409 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/rows/RowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/rows/RowsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookTableRow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/rows", 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/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/sort/SortRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/sort/SortRequestBuilder.java index 2741e376c07..7133d30504a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/sort/SortRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/itematwithindex/sort/SortRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/sort", 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 WorkbookTableSort body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/itemAt(index={index})/sort", 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/drives/item/items/item/workbook/worksheets/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/TasksRequestBuilder.java index ed85451763c..eef2a996925 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/TasksRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/WorkbookDocumentTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/WorkbookDocumentTaskItemRequestBuilder.java index ccd81ba32b5..c2c56a3cef6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/WorkbookDocumentTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/WorkbookDocumentTaskItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%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 WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%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/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/ChangesRequestBuilder.java index 18020925be8..66bbcfd0296 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/ChangesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/changes", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java index f7d743a0098..a9973590f0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/changes/{workbookDocumentTaskChange%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 WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/changes/{workbookDocumentTaskChange%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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/CommentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/CommentRequestBuilder.java index 8453fe18e44..af0e879bb6e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/CommentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/CommentRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment", 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 WorkbookComment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/RepliesRequestBuilder.java index 2828ebb12a9..c1c66e2751b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/RepliesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookCommentReply body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.java index c35f24acabd..a3dcb1a859f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/WorkbookCommentReplyItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies/{workbookCommentReply%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 WorkbookCommentReply body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies/{workbookCommentReply%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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/TaskRequestBuilder.java index 3f998e68693..6c72d7c0040 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/TaskRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies/{workbookCommentReply%2Did}/task", 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 WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies/{workbookCommentReply%2Did}/task", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/ChangesRequestBuilder.java index 72899830761..5513ed4f120 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/ChangesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies/{workbookCommentReply%2Did}/task/changes", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java index 1f7123f2f2d..604dc4b4622 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/replies/item/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies/{workbookCommentReply%2Did}/task/changes/{workbookDocumentTaskChange%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 WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/replies/{workbookCommentReply%2Did}/task/changes/{workbookDocumentTaskChange%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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/TaskRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/TaskRequestBuilder.java index 9715535b29a..3371fc680eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/TaskRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/TaskRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/task", 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 WorkbookDocumentTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/task", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/ChangesRequestBuilder.java index dfd2aba5dd8..a2d36f31dd7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/ChangesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/task/changes", 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/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java index 60b1849d988..033c3861ca6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/item/comment/task/changes/item/WorkbookDocumentTaskChangeItemRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/task/changes/{workbookDocumentTaskChange%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 WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/{workbookDocumentTask%2Did}/comment/task/changes/{workbookDocumentTaskChange%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/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/changes/ChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/changes/ChangesRequestBuilder.java index 7840d701555..8a70c363ebd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/changes/ChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/changes/ChangesRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WorkbookDocumentTaskChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/itemAt(index={index})/changes", 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/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/comment/CommentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/comment/CommentRequestBuilder.java index 609e42c85e2..ddb2654bcde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/comment/CommentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tasks/itematwithindex/comment/CommentRequestBuilder.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}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/itemAt(index={index})/comment", 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 WorkbookComment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tasks/itemAt(index={index})/comment", 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/drives/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 70101f7f70e..f58193ebdd6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/lastModifiedByUser/mailboxSettings", 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/drives/item/list/ListRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/ListRequestBuilder.java index 02d67c5ce79..9d76df2de57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/ListRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/ListRequestBuilder.java @@ -197,7 +197,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}/drives/{drive%2Did}/list", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -240,7 +240,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final List body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list", 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/drives/item/list/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/activities/ActivitiesRequestBuilder.java index 5384ef5ecf2..8640eb3fd0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/activities/ActivitiesRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/activities", 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/drives/item/list/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/columns/ColumnsRequestBuilder.java index 84767485cd7..7789769a0f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/columns/ColumnsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/columns", 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/drives/item/list/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/columns/item/ColumnDefinitionItemRequestBuilder.java index cce86c67e3d..82c8b3c47e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/columns/item/ColumnDefinitionItemRequestBuilder.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}/drives/{drive%2Did}/list/columns/{columnDefinition%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 ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/columns/{columnDefinition%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/drives/item/list/contenttypes/ContentTypesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/ContentTypesRequestBuilder.java index 92a4666269c..900d8839bd6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/ContentTypesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/ContentTypesRequestBuilder.java @@ -173,7 +173,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/contentTypes", 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/drives/item/list/contenttypes/item/ContentTypeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/ContentTypeItemRequestBuilder.java index c8270a3909b..a33358c201d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/ContentTypeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/ContentTypeItemRequestBuilder.java @@ -206,7 +206,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}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -249,7 +249,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/contentTypes/{contentType%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/drives/item/list/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java index ce92eaf93e6..24a14a65bb8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnLink body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}/columnLinks", 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/drives/item/list/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java index ee7d88cdc1a..23646f28e36 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.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}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}/columnLinks/{columnLink%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 ColumnLink body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}/columnLinks/{columnLink%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/drives/item/list/contenttypes/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columns/ColumnsRequestBuilder.java index d1df38fcae7..8d09adba7eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columns/ColumnsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}/columns", 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/drives/item/list/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java index e1b6c453954..69ac19c21f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.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}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}/columns/{columnDefinition%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 ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/contentTypes/{contentType%2Did}/columns/{columnDefinition%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/drives/item/list/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 6820dc351c2..ddc268415d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/createdByUser/mailboxSettings", 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/drives/item/list/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/ItemsRequestBuilder.java index a7860be2383..ecc02ef7579 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/ItemsRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ListItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/items", 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/drives/item/list/items/item/ListItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/ListItemItemRequestBuilder.java index e406efe483d..c23b3d4a207 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/ListItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/ListItemItemRequestBuilder.java @@ -216,7 +216,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}/drives/{drive%2Did}/list/items/{listItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -259,7 +259,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ListItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%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/drives/item/list/items/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/ActivitiesRequestBuilder.java index 7de51d78dc3..3764a5f3506 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/ActivitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/activities", 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/drives/item/list/items/item/activities/item/ItemActivityOLDItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/item/ItemActivityOLDItemRequestBuilder.java index e2c32d5d11b..d32e40a0f6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/item/ItemActivityOLDItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/item/ItemActivityOLDItemRequestBuilder.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}/drives/{drive%2Did}/list/items/{listItem%2Did}/activities/{itemActivityOLD%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 ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/activities/{itemActivityOLD%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/drives/item/list/items/item/activities/item/driveitem/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/item/driveitem/content/ContentRequestBuilder.java index 5c33b46bfa4..dcf1d542d8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/item/driveitem/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/activities/item/driveitem/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/activities/{itemActivityOLD%2Did}/driveItem/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 76c19fe0ec2..463fce4eff5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/createdByUser/mailboxSettings", 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/drives/item/list/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java index 71ae982433c..4efec075394 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DocumentSetVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/documentSetVersions", 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/drives/item/list/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java index b1dfe2c9e2b..285c08fe157 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java @@ -138,7 +138,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}/drives/{drive%2Did}/list/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DocumentSetVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%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/drives/item/list/items/item/documentsetversions/item/fields/FieldsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/item/fields/FieldsRequestBuilder.java index baa1a2fcb19..c49e41da20c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/item/fields/FieldsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/documentsetversions/item/fields/FieldsRequestBuilder.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}/drives/{drive%2Did}/list/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}/fields", 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 FieldValueSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}/fields", 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/drives/item/list/items/item/driveitem/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/driveitem/content/ContentRequestBuilder.java index 6bc4d7b22e9..a25f2a2a8e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/driveitem/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/driveitem/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/driveItem/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/fields/FieldsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/fields/FieldsRequestBuilder.java index 7cffd3302f9..0c8a05defc3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/fields/FieldsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/fields/FieldsRequestBuilder.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}/drives/{drive%2Did}/list/items/{listItem%2Did}/fields", 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 FieldValueSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/fields", 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/drives/item/list/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 56387200bd5..5ea9b8147fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/lastModifiedByUser/mailboxSettings", 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/drives/item/list/items/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/VersionsRequestBuilder.java index 7fc2a5e9b53..1de3f337fdc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/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 ListItemVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%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/drives/item/list/items/item/versions/item/ListItemVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/item/ListItemVersionItemRequestBuilder.java index 037dc47a6d7..fb413eeb37e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/item/ListItemVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/item/ListItemVersionItemRequestBuilder.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}/drives/{drive%2Did}/list/items/{listItem%2Did}/versions/{listItemVersion%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 ListItemVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/versions/{listItemVersion%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/drives/item/list/items/item/versions/item/fields/FieldsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/item/fields/FieldsRequestBuilder.java index 95d3218e0f9..ab51c955008 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/item/fields/FieldsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/items/item/versions/item/fields/FieldsRequestBuilder.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}/drives/{drive%2Did}/list/items/{listItem%2Did}/versions/{listItemVersion%2Did}/fields", 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 FieldValueSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/items/{listItem%2Did}/versions/{listItemVersion%2Did}/fields", 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/drives/item/list/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index c8af98b4832..61c0cf9bdec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/lastModifiedByUser/mailboxSettings", 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/drives/item/list/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/operations/OperationsRequestBuilder.java index b645702fcb7..e68d605981b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/operations/OperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/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/drives/item/list/operations/item/RichLongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/operations/item/RichLongRunningOperationItemRequestBuilder.java index ff45317e129..1864bbb4dc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/operations/item/RichLongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/operations/item/RichLongRunningOperationItemRequestBuilder.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}/drives/{drive%2Did}/list/operations/{richLongRunningOperation%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 RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/operations/{richLongRunningOperation%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/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java index 3f4f2ab56d7..313097eb87d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Subscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/drives/{drive%2Did}/list/subscriptions", 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/drives/item/list/subscriptions/item/SubscriptionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/item/SubscriptionItemRequestBuilder.java index 6acd03f9aa6..989e2ff62d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/item/SubscriptionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/list/subscriptions/item/SubscriptionItemRequestBuilder.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}/drives/{drive%2Did}/list/subscriptions/{subscription%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 Subscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/drives/{drive%2Did}/list/subscriptions/{subscription%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/drives/item/root/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/root/content/ContentRequestBuilder.java index 8177c2b75ce..39d2ea901e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/root/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/root/content/ContentRequestBuilder.java @@ -124,7 +124,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/root/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/special/item/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/special/item/content/ContentRequestBuilder.java index 9108b0bcee2..85c6c497203 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/special/item/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/special/item/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/drives/{drive%2Did}/special/{driveItem%2Did}/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/EducationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/EducationRequestBuilder.java index 3941127b5db..65e2110699d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/EducationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/EducationRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education", 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/education/classes/ClassesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/ClassesRequestBuilder.java index 256e09f252b..a823fdb26cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/ClassesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/ClassesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationClass body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes", 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/education/classes/item/EducationClassItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/EducationClassItemRequestBuilder.java index e795a3aa5d1..4398b179fb3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/EducationClassItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/EducationClassItemRequestBuilder.java @@ -203,7 +203,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}/education/classes/{educationClass%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -246,7 +246,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationClass body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%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/education/classes/item/assignmentcategories/AssignmentCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentcategories/AssignmentCategoriesRequestBuilder.java index f8b22c30bb4..221e9d6e67d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentcategories/AssignmentCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentcategories/AssignmentCategoriesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentCategories", 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/education/classes/item/assignmentcategories/item/EducationCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentcategories/item/EducationCategoryItemRequestBuilder.java index 1a9bc8342a2..6aa21fb2f7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentcategories/item/EducationCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentcategories/item/EducationCategoryItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignmentCategories/{educationCategory%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 EducationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentCategories/{educationCategory%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/education/classes/item/assignmentdefaults/AssignmentDefaultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentdefaults/AssignmentDefaultsRequestBuilder.java index cba8e52cd10..91df797b573 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentdefaults/AssignmentDefaultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentdefaults/AssignmentDefaultsRequestBuilder.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}/education/classes/{educationClass%2Did}/assignmentDefaults", 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 EducationAssignmentDefaults body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentDefaults", 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/education/classes/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/AssignmentsRequestBuilder.java index 34789e64920..ff5685fd73e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/AssignmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments", 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/education/classes/item/assignments/item/EducationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/EducationAssignmentItemRequestBuilder.java index f491af5bb73..36d883ba99c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/EducationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/EducationAssignmentItemRequestBuilder.java @@ -221,7 +221,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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -264,7 +264,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%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/education/classes/item/assignments/item/categories/CategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/categories/CategoriesRequestBuilder.java index 8ad5846969b..b494693aed7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/categories/CategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/categories/CategoriesRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories", 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/education/classes/item/assignments/item/categories/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/categories/ref/RefRequestBuilder.java index 59dac5eab99..4c97fdeeb17 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/categories/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/categories/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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/categories/$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/education/classes/item/assignments/item/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/ResourcesRequestBuilder.java index cb4bd989342..e61c69b499c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/ResourcesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources", 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/education/classes/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java index 40f41920006..6129f8912d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java @@ -129,7 +129,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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%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/education/classes/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java index b08919405a3..17cf9ee96ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources", 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/education/classes/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java index af3bbfb6edd..10895850ba2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}", 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 EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/rubric/RubricRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/rubric/RubricRequestBuilder.java index 59eb21d1945..e8e47f2bf08 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/rubric/RubricRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/rubric/RubricRequestBuilder.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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/rubric", 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 EducationRubric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/rubric", 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/education/classes/item/assignments/item/submissions/SubmissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/SubmissionsRequestBuilder.java index bf1c3e4c183..7dffd2a2ec5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/SubmissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/SubmissionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions", 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/education/classes/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java index f34067d7bd8..9003461282d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java @@ -199,7 +199,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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -242,7 +242,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationSubmission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%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/education/classes/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java index 0c6b8b3ce95..52628891ba5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationOutcome body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes", 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/education/classes/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java index fd12efbcb9a..fb409c5be28 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes/{educationOutcome%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 EducationOutcome body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes/{educationOutcome%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/education/classes/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java index 71067ef7883..49febf5f7da 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources", 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/education/classes/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java index 63168463cf6..75ef1a7e45b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java @@ -129,7 +129,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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%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/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java index 989d1dc7da1..906ade10a93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources", 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/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java index 19b0a698567..1a8f9873787 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}", 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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java index e659b9eaa30..ad58a4caa30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources", 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/education/classes/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java index 2b19accffef..a856b538510 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%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/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java index 8cb87609dd9..9c009ea4c96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources", 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/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java index 496fc080532..e3277dfd378 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}", 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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/AssignmentSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/AssignmentSettingsRequestBuilder.java index 924a0d711b9..119f9155664 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/AssignmentSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/AssignmentSettingsRequestBuilder.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}/education/classes/{educationClass%2Did}/assignmentSettings", 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 EducationAssignmentSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings", 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/education/classes/item/assignmentsettings/gradingcategories/GradingCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingcategories/GradingCategoriesRequestBuilder.java index 52aabff5674..0dc65c5c17e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingcategories/GradingCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingcategories/GradingCategoriesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationGradingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingCategories", 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/education/classes/item/assignmentsettings/gradingcategories/item/EducationGradingCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingcategories/item/EducationGradingCategoryItemRequestBuilder.java index b4786568477..46211f73293 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingcategories/item/EducationGradingCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingcategories/item/EducationGradingCategoryItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignmentSettings/gradingCategories/{educationGradingCategory%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 EducationGradingCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingCategories/{educationGradingCategory%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/education/classes/item/assignmentsettings/gradingschemes/GradingSchemesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingschemes/GradingSchemesRequestBuilder.java index d36ee0db4da..f4437b61804 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingschemes/GradingSchemesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingschemes/GradingSchemesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationGradingScheme body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes", 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/education/classes/item/assignmentsettings/gradingschemes/item/EducationGradingSchemeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingschemes/item/EducationGradingSchemeItemRequestBuilder.java index 3bf31e72714..0de8560019b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingschemes/item/EducationGradingSchemeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/assignmentsettings/gradingschemes/item/EducationGradingSchemeItemRequestBuilder.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}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/{educationGradingScheme%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 EducationGradingScheme body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/assignmentSettings/gradingSchemes/{educationGradingScheme%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/education/classes/item/members/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/members/ref/RefRequestBuilder.java index 86d6241c32a..ed2bc4a2a4a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/members/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/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}/education/classes/{educationClass%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/education/classes/{educationClass%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}/education/classes/{educationClass%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/education/classes/item/modules/ModulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/ModulesRequestBuilder.java index 014ec672025..2699aff52db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/ModulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/ModulesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationModule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/modules", 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/education/classes/item/modules/item/EducationModuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/EducationModuleItemRequestBuilder.java index 5d06b3a4d55..ad17582a63f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/EducationModuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/EducationModuleItemRequestBuilder.java @@ -167,7 +167,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}/education/classes/{educationClass%2Did}/modules/{educationModule%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -210,7 +210,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationModule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/modules/{educationModule%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/education/classes/item/modules/item/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/resources/ResourcesRequestBuilder.java index b1a290f6384..801c4ae9b2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/resources/ResourcesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationModuleResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/classes/{educationClass%2Did}/modules/{educationModule%2Did}/resources", 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/education/classes/item/modules/item/resources/item/EducationModuleResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/resources/item/EducationModuleResourceItemRequestBuilder.java index 11bb95afc62..c6b2093c443 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/resources/item/EducationModuleResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/modules/item/resources/item/EducationModuleResourceItemRequestBuilder.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}/education/classes/{educationClass%2Did}/modules/{educationModule%2Did}/resources/{educationModuleResource%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 EducationModuleResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/classes/{educationClass%2Did}/modules/{educationModule%2Did}/resources/{educationModuleResource%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/education/classes/item/teachers/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/teachers/ref/RefRequestBuilder.java index bbae7ae5d2e..e10dec960b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/teachers/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/classes/item/teachers/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}/education/classes/{educationClass%2Did}/teachers/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/education/classes/{educationClass%2Did}/teachers/$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}/education/classes/{educationClass%2Did}/teachers/$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/education/me/MeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/MeRequestBuilder.java index a2ece67b5ce..d0587aab4ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/MeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/MeRequestBuilder.java @@ -170,7 +170,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}/education/me", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationUser body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me", 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/education/me/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/AssignmentsRequestBuilder.java index c08e59bba14..bb1b4cf8795 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/AssignmentsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments", 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/education/me/assignments/item/EducationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/EducationAssignmentItemRequestBuilder.java index 8ab256948b2..3a078f31cd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/EducationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/EducationAssignmentItemRequestBuilder.java @@ -215,7 +215,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}/education/me/assignments/{educationAssignment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -258,7 +258,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%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/education/me/assignments/item/categories/CategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/categories/CategoriesRequestBuilder.java index 4664268895b..d7f59497bbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/categories/CategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/categories/CategoriesRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories", 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/education/me/assignments/item/categories/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/categories/ref/RefRequestBuilder.java index f3946d6af60..68e434b26cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/categories/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/categories/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}/education/me/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/categories/$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}/education/me/assignments/{educationAssignment%2Did}/categories/$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/education/me/assignments/item/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/ResourcesRequestBuilder.java index 76fca4e6cef..28c2ed953ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/ResourcesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources", 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/education/me/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java index 617e4632e1e..87c09469ed4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java @@ -129,7 +129,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}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%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/education/me/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java index 2efc3401d3b..f85d266c4b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources", 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/education/me/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java index 8d6966159da..a0fd0ec7517 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.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}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}", 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 EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/rubric/RubricRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/rubric/RubricRequestBuilder.java index f9a3a30df3f..cab3e031f99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/rubric/RubricRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/rubric/RubricRequestBuilder.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}/education/me/assignments/{educationAssignment%2Did}/rubric", 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 EducationRubric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/rubric", 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/education/me/assignments/item/submissions/SubmissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/SubmissionsRequestBuilder.java index 82eab02835f..388ee4653ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/SubmissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/SubmissionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions", 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/education/me/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java index f3d15290b8e..4e5a8d5c768 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java @@ -199,7 +199,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}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -242,7 +242,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationSubmission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%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/education/me/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java index 421f25f4c59..0479ce85a8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationOutcome body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes", 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/education/me/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java index 8bf0cec91ca..7640a279ac8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.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}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes/{educationOutcome%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 EducationOutcome body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes/{educationOutcome%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/education/me/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java index b21b950083e..ae898aacae3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources", 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/education/me/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java index 684fc4e26c6..231fbf735d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java @@ -129,7 +129,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}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%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/education/me/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java index c74f3d791a9..392da269be3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources", 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/education/me/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java index ae9e58f0033..1ccccf7e938 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}", 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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java index bd8c64d4b6c..47076d7cf2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources", 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/education/me/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java index a0015e6e3ec..ec2017b1dab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%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/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java index 99ea6db9f0a..d6c7f6bee0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources", 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/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java index 468f6bbca61..c0961d486e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}", 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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/me/rubrics/RubricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/rubrics/RubricsRequestBuilder.java index a856bf7425e..2334afc91ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/rubrics/RubricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/rubrics/RubricsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationRubric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/me/rubrics", 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/education/me/rubrics/item/EducationRubricItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/rubrics/item/EducationRubricItemRequestBuilder.java index 36f70d8161a..8382c3021ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/rubrics/item/EducationRubricItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/rubrics/item/EducationRubricItemRequestBuilder.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}/education/me/rubrics/{educationRubric%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 EducationRubric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/rubrics/{educationRubric%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/education/me/user/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/me/user/mailboxsettings/MailboxSettingsRequestBuilder.java index 10ae055f8d7..67bb4a9f163 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/me/user/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/me/user/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/me/user/mailboxSettings", 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/education/schools/SchoolsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/schools/SchoolsRequestBuilder.java index 0d84844f503..c68d69d5aed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/schools/SchoolsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/schools/SchoolsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSchool body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/schools", 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/education/schools/item/EducationSchoolItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/EducationSchoolItemRequestBuilder.java index 160b23e2679..2e2d9dce391 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/EducationSchoolItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/EducationSchoolItemRequestBuilder.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}/education/schools/{educationSchool%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 EducationSchool body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/schools/{educationSchool%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/education/schools/item/administrativeunit/AdministrativeUnitRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/administrativeunit/AdministrativeUnitRequestBuilder.java index f1e7be061e5..66b5d0f8d83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/administrativeunit/AdministrativeUnitRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/administrativeunit/AdministrativeUnitRequestBuilder.java @@ -123,7 +123,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}/education/schools/{educationSchool%2Did}/administrativeUnit", 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/education/schools/item/classes/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/classes/ref/RefRequestBuilder.java index 8648579f908..9cfd82108db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/classes/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/classes/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}/education/schools/{educationSchool%2Did}/classes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/classes/$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}/education/schools/{educationSchool%2Did}/classes/$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/education/schools/item/users/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/users/ref/RefRequestBuilder.java index 30442f99b57..7c11dfa950f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/users/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/schools/item/users/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}/education/schools/{educationSchool%2Did}/users/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/education/schools/{educationSchool%2Did}/users/$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}/education/schools/{educationSchool%2Did}/users/$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/education/synchronizationprofiles/SynchronizationProfilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/SynchronizationProfilesRequestBuilder.java index 7107a1d8c09..590509a4df3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/SynchronizationProfilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/SynchronizationProfilesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSynchronizationProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/synchronizationProfiles", 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/education/synchronizationprofiles/item/EducationSynchronizationProfileItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/EducationSynchronizationProfileItemRequestBuilder.java index 699bd8029f0..791a29a7a1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/EducationSynchronizationProfileItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/EducationSynchronizationProfileItemRequestBuilder.java @@ -183,7 +183,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}/education/synchronizationProfiles/{educationSynchronizationProfile%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -226,7 +226,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationSynchronizationProfile body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/synchronizationProfiles/{educationSynchronizationProfile%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/education/synchronizationprofiles/item/errors/ErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/errors/ErrorsRequestBuilder.java index 2a445277007..99298c8ef01 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/errors/ErrorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/errors/ErrorsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSynchronizationError body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/synchronizationProfiles/{educationSynchronizationProfile%2Did}/errors", 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/education/synchronizationprofiles/item/errors/item/EducationSynchronizationErrorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/errors/item/EducationSynchronizationErrorItemRequestBuilder.java index cea7019592b..ed885a964d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/errors/item/EducationSynchronizationErrorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/errors/item/EducationSynchronizationErrorItemRequestBuilder.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}/education/synchronizationProfiles/{educationSynchronizationProfile%2Did}/errors/{educationSynchronizationError%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 EducationSynchronizationError body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/synchronizationProfiles/{educationSynchronizationProfile%2Did}/errors/{educationSynchronizationError%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/education/synchronizationprofiles/item/profilestatus/ProfileStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/profilestatus/ProfileStatusRequestBuilder.java index 20217f9ba01..3379e1b23cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/profilestatus/ProfileStatusRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/synchronizationprofiles/item/profilestatus/ProfileStatusRequestBuilder.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}/education/synchronizationProfiles/{educationSynchronizationProfile%2Did}/profileStatus", 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 EducationSynchronizationProfileStatus body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/synchronizationProfiles/{educationSynchronizationProfile%2Did}/profileStatus", 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/education/users/UsersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/UsersRequestBuilder.java index dca0a1fc2ce..2ed6c1e892b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/UsersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/UsersRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationUser body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users", 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/education/users/item/EducationUserItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java index 09f13a3666b..4a61dd23dde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java @@ -135,23 +135,23 @@ public EducationUser get(@jakarta.annotation.Nullable final java.util.function.C return this.requestAdapter.send(requestInfo, errorMapping, EducationUser::createFromDiscriminatorValue); } /** - * Update the relatedContact collection of an educationUser object. + * Update the properties of an educationuser object. * @param body The request body * @return a {@link EducationUser} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public EducationUser patch(@jakarta.annotation.Nonnull final EducationUser body) { return patch(body, null); } /** - * Update the relatedContact collection of an educationUser object. + * Update the properties of an educationuser object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link EducationUser} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public EducationUser patch(@jakarta.annotation.Nonnull final EducationUser body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -176,7 +176,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}/education/users/{educationUser%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -202,7 +202,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the relatedContact collection of an educationUser object. + * Update the properties of an educationuser object. * @param body The request body * @return a {@link RequestInformation} */ @@ -211,7 +211,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the relatedContact collection of an educationUser object. + * Update the properties of an educationuser object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -219,7 +219,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationUser body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%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/education/users/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/AssignmentsRequestBuilder.java index 5167539905f..99edaf1540f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/AssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/AssignmentsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments", 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/education/users/item/assignments/item/EducationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/EducationAssignmentItemRequestBuilder.java index d25ad486d61..750309f3cdd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/EducationAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/EducationAssignmentItemRequestBuilder.java @@ -215,7 +215,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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -258,7 +258,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%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/education/users/item/assignments/item/categories/CategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/categories/CategoriesRequestBuilder.java index 87793648d33..8bbf26b16df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/categories/CategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/categories/CategoriesRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories", 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/education/users/item/assignments/item/categories/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/categories/ref/RefRequestBuilder.java index 5b5f4998da4..4751b4765d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/categories/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/categories/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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/categories/$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/education/users/item/assignments/item/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/ResourcesRequestBuilder.java index f70a2e6aa38..8610d6086ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/ResourcesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources", 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/education/users/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java index ca70178d6eb..901854cb085 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/EducationAssignmentResourceItemRequestBuilder.java @@ -129,7 +129,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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%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/education/users/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java index 98b26f2e94f..8cd5cf6290b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources", 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/education/users/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java index d344ff902eb..8c0693ae3c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/resources/item/dependentresources/item/EducationAssignmentResourceItemRequestBuilder.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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%2Did1}", 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 EducationAssignmentResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/resources/{educationAssignmentResource%2Did}/dependentResources/{educationAssignmentResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/rubric/RubricRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/rubric/RubricRequestBuilder.java index f47abc71c17..06735e09972 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/rubric/RubricRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/rubric/RubricRequestBuilder.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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/rubric", 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 EducationRubric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/rubric", 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/education/users/item/assignments/item/submissions/SubmissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/SubmissionsRequestBuilder.java index 1dd4579654b..f4bb6d476bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/SubmissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/SubmissionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions", 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/education/users/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java index b3897e3d11a..986d3a8dc95 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/EducationSubmissionItemRequestBuilder.java @@ -199,7 +199,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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -242,7 +242,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationSubmission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%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/education/users/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java index 182a6aee8a8..fc8588c1cf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/outcomes/OutcomesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationOutcome body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes", 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/education/users/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java index e307e7de0b2..1f6adef2058 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/outcomes/item/EducationOutcomeItemRequestBuilder.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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes/{educationOutcome%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 EducationOutcome body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/outcomes/{educationOutcome%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/education/users/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java index f399afd6c8d..c11de3c77e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/ResourcesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources", 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/education/users/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java index 13443c814b3..6ec86f509df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/EducationSubmissionResourceItemRequestBuilder.java @@ -129,7 +129,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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%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/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java index c4443933be1..11d4ccf5a44 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources", 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/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java index 2e6b8a1129a..86013b032e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/resources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}", 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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/resources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java index 16ef6c89623..cbfbf1dfa48 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/SubmittedResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources", 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/education/users/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java index 9d416ee53ef..17a3fe97e0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%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/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java index cff307bea28..e04516311f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/DependentResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources", 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/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java index b2e8a24c860..1d4486d862f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/assignments/item/submissions/item/submittedresources/item/dependentresources/item/EducationSubmissionResourceItemRequestBuilder.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}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%2Did1}", 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 EducationSubmissionResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/assignments/{educationAssignment%2Did}/submissions/{educationSubmission%2Did}/submittedResources/{educationSubmissionResource%2Did}/dependentResources/{educationSubmissionResource%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/rubrics/RubricsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/rubrics/RubricsRequestBuilder.java index 8dcc36e684e..1d59587b9d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/rubrics/RubricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/rubrics/RubricsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EducationRubric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/education/users/{educationUser%2Did}/rubrics", 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/education/users/item/rubrics/item/EducationRubricItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/rubrics/item/EducationRubricItemRequestBuilder.java index d66591636d9..7b715d8bc23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/rubrics/item/EducationRubricItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/rubrics/item/EducationRubricItemRequestBuilder.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}/education/users/{educationUser%2Did}/rubrics/{educationRubric%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 EducationRubric body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/rubrics/{educationRubric%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/education/users/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java index b1721d1d443..3ae70da9078 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/education/users/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/education/users/{educationUser%2Did}/user/mailboxSettings", 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/employeeexperience/EmployeeExperienceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/EmployeeExperienceRequestBuilder.java index bd6408f9d92..a64050dcd80 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/EmployeeExperienceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/EmployeeExperienceRequestBuilder.java @@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EmployeeExperience body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience", 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/employeeexperience/communities/CommunitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/CommunitiesRequestBuilder.java index 276b7e43e5b..39c4af3feb5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/CommunitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/CommunitiesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Community body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/employeeExperience/communities", 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/employeeexperience/communities/item/CommunityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/item/CommunityItemRequestBuilder.java index bbd83f9c44e..c435e2dd772 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/item/CommunityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/item/CommunityItemRequestBuilder.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}/employeeExperience/communities/{community%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 Community body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/communities/{community%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/employeeexperience/communities/item/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/item/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java index 5af37a3b33e..f184c143028 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/item/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/communities/item/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/communities/{community%2Did}/owners/{user%2Did}/mailboxSettings", 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/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java index d9e8c259fcd..6b7f728c18f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/EngagementAsyncOperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/employeeExperience/engagementAsyncOperations", 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/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.java index 2a43e580c73..376dbe90463 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/engagementasyncoperations/item/EngagementAsyncOperationItemRequestBuilder.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}/employeeExperience/engagementAsyncOperations/{engagementAsyncOperation%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 EngagementAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/engagementAsyncOperations/{engagementAsyncOperation%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/employeeexperience/goals/GoalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/GoalsRequestBuilder.java index f538cf6c7fe..78bbc0f924f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/GoalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/GoalsRequestBuilder.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}/employeeExperience/goals", 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 Goals body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/goals", 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/employeeexperience/goals/exportjobs/ExportJobsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/exportjobs/ExportJobsRequestBuilder.java index 22bb6fcaf0a..cf8c15d87c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/exportjobs/ExportJobsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/exportjobs/ExportJobsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GoalsExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/employeeExperience/goals/exportJobs", 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/employeeexperience/goals/exportjobs/item/GoalsExportJobItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/exportjobs/item/GoalsExportJobItemRequestBuilder.java index d67ffa0013a..2b00efa1961 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/exportjobs/item/GoalsExportJobItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/goals/exportjobs/item/GoalsExportJobItemRequestBuilder.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}/employeeExperience/goals/exportJobs/{goalsExportJob%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 GoalsExportJob body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/goals/exportJobs/{goalsExportJob%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/employeeexperience/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java index 8826f16ae36..c70f2f23f07 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LearningCourseActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/employeeExperience/learningCourseActivities", 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/employeeexperience/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.java index b853bfef821..675a6861b73 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.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}/employeeExperience/learningCourseActivities/{learningCourseActivity%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 LearningCourseActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/learningCourseActivities/{learningCourseActivity%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/employeeexperience/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.java index 7534ed2bf50..51080049ca7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.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}/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}')", 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 LearningCourseActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}')", 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/employeeexperience/learningproviders/LearningProvidersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/LearningProvidersRequestBuilder.java index 479f429e0f9..a63c6c7429e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/LearningProvidersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/LearningProvidersRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LearningProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/employeeExperience/learningProviders", 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/employeeexperience/learningproviders/item/LearningProviderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/LearningProviderItemRequestBuilder.java index b3e7e974dc8..72c025df6ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/LearningProviderItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/LearningProviderItemRequestBuilder.java @@ -162,7 +162,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}/employeeExperience/learningProviders/{learningProvider%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -205,7 +205,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LearningProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/learningProviders/{learningProvider%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/employeeexperience/learningproviders/item/learningcontents/LearningContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontents/LearningContentsRequestBuilder.java index 14cae02fc33..d28e8fc187b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontents/LearningContentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontents/LearningContentsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LearningContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents", 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/employeeexperience/learningproviders/item/learningcontents/item/LearningContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontents/item/LearningContentItemRequestBuilder.java index ba5ec9bf02d..65ce0706fc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontents/item/LearningContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontents/item/LearningContentItemRequestBuilder.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}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents/{learningContent%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 LearningContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents/{learningContent%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/employeeexperience/learningproviders/item/learningcontentswithexternalid/LearningContentsWithExternalIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontentswithexternalid/LearningContentsWithExternalIdRequestBuilder.java index 1a3a5398605..4ab8e2a3c66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontentswithexternalid/LearningContentsWithExternalIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcontentswithexternalid/LearningContentsWithExternalIdRequestBuilder.java @@ -124,7 +124,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}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents(externalId='{externalId}')", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -167,7 +167,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LearningContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningContents(externalId='{externalId}')", 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/employeeexperience/learningproviders/item/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java index 6c521917e72..7a730dc6ea5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivities/LearningCourseActivitiesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LearningCourseActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities", 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/employeeexperience/learningproviders/item/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.java index 25243f32658..2a03a5c6b7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivities/item/LearningCourseActivityItemRequestBuilder.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}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities/{learningCourseActivity%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 LearningCourseActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities/{learningCourseActivity%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/employeeexperience/learningproviders/item/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.java index f27069bb80f..76a79f8f28f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/learningproviders/item/learningcourseactivitieswithexternalcourseactivityid/LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder.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}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}')", 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 LearningCourseActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/employeeExperience/learningProviders/{learningProvider%2Did}/learningCourseActivities(externalcourseActivityId='{externalcourseActivityId}')", 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/external/ExternalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/ExternalRequestBuilder.java index 2b1c8389daf..15032d4fb93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/ExternalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/ExternalRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final External body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external", 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/external/authorizationsystems/AuthorizationSystemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/AuthorizationSystemsRequestBuilder.java index c8c6a14fcdd..0d240faea11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/AuthorizationSystemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/AuthorizationSystemsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthorizationSystem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/authorizationSystems", 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/external/authorizationsystems/item/AuthorizationSystemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/item/AuthorizationSystemItemRequestBuilder.java index 935cee2a215..79b9a5abc30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/item/AuthorizationSystemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/item/AuthorizationSystemItemRequestBuilder.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}/external/authorizationSystems/{authorizationSystem%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 AuthorizationSystem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/authorizationSystems/{authorizationSystem%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/external/authorizationsystems/item/datacollectioninfo/DataCollectionInfoRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/item/datacollectioninfo/DataCollectionInfoRequestBuilder.java index b9f56ce22de..33682a2ba7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/item/datacollectioninfo/DataCollectionInfoRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/authorizationsystems/item/datacollectioninfo/DataCollectionInfoRequestBuilder.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}/external/authorizationSystems/{authorizationSystem%2Did}/dataCollectionInfo", 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 DataCollectionInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/authorizationSystems/{authorizationSystem%2Did}/dataCollectionInfo", 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/external/connections/ConnectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/ConnectionsRequestBuilder.java index 6f1dc0efa55..68c407a172d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/ConnectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/ConnectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/connections", 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/external/connections/item/ExternalConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/ExternalConnectionItemRequestBuilder.java index 8616e394770..e565001ac13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/ExternalConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/ExternalConnectionItemRequestBuilder.java @@ -167,7 +167,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}/external/connections/{externalConnection%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -210,7 +210,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExternalConnection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/connections/{externalConnection%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/external/connections/item/groups/GroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/GroupsRequestBuilder.java index e17f81c1ac6..8d4b4a28439 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/GroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/GroupsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/connections/{externalConnection%2Did}/groups", 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/external/connections/item/groups/item/ExternalGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/ExternalGroupItemRequestBuilder.java index 9e54b64d1b5..c246761dcc1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/ExternalGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/ExternalGroupItemRequestBuilder.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}/external/connections/{externalConnection%2Did}/groups/{externalGroup%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 ExternalGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/connections/{externalConnection%2Did}/groups/{externalGroup%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/external/connections/item/groups/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/members/MembersRequestBuilder.java index 8ac1ad4890f..42603b37c55 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/members/MembersRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Identity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/connections/{externalConnection%2Did}/groups/{externalGroup%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/external/connections/item/groups/item/members/item/IdentityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/members/item/IdentityItemRequestBuilder.java index 9b47a91f023..ba0fedd50b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/members/item/IdentityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/groups/item/members/item/IdentityItemRequestBuilder.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}/external/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%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 Identity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/connections/{externalConnection%2Did}/groups/{externalGroup%2Did}/members/{identity%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/external/connections/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/ItemsRequestBuilder.java index c7ef41f7172..8c2075d4621 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/ItemsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/connections/{externalConnection%2Did}/items", 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/external/connections/item/items/item/ExternalItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java index 2c84ec0bf33..e13214a57bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java @@ -138,7 +138,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}/external/connections/{externalConnection%2Did}/items/{externalItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final ExternalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/external/connections/{externalConnection%2Did}/items/{externalItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setContentFromParsable(requestAdapter, "application/json", body); diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/activities/ActivitiesRequestBuilder.java index 306431786e8..9194176ed3c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/activities/ActivitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/connections/{externalConnection%2Did}/items/{externalItem%2Did}/activities", 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/external/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.java index c185222b68b..29e92d6244e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/activities/item/ExternalActivityItemRequestBuilder.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}/external/connections/{externalConnection%2Did}/items/{externalItem%2Did}/activities/{externalActivity%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 ExternalActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/connections/{externalConnection%2Did}/items/{externalItem%2Did}/activities/{externalActivity%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/external/connections/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/operations/OperationsRequestBuilder.java index a1ffa4abbc5..b16b46b2f88 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/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 ConnectionOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/connections/{externalConnection%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/external/connections/item/operations/item/ConnectionOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/operations/item/ConnectionOperationItemRequestBuilder.java index f36221e38c5..dd87e71b815 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/operations/item/ConnectionOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/operations/item/ConnectionOperationItemRequestBuilder.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}/external/connections/{externalConnection%2Did}/operations/{connectionOperation%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 ConnectionOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/connections/{externalConnection%2Did}/operations/{connectionOperation%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/external/connections/item/quota/QuotaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/quota/QuotaRequestBuilder.java index 091e116a360..0fa940b2606 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/quota/QuotaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/quota/QuotaRequestBuilder.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}/external/connections/{externalConnection%2Did}/quota", 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 ConnectionQuota body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/connections/{externalConnection%2Did}/quota", 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/external/connections/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java index 676db88ea12..16c79abdc12 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java @@ -125,7 +125,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Schema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/connections/{externalConnection%2Did}/schema", 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/external/industrydata/IndustryDataRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/IndustryDataRequestBuilder.java index 0a8e54cc0ad..beb20343911 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/IndustryDataRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/IndustryDataRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.external.industrydata.dataconnectors.DataConnectorsRequestBuilder; import com.microsoft.graph.beta.external.industrydata.inboundflows.InboundFlowsRequestBuilder; import com.microsoft.graph.beta.external.industrydata.operations.OperationsRequestBuilder; +import com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.OutboundProvisioningFlowSetsRequestBuilder; import com.microsoft.graph.beta.external.industrydata.referencedefinitions.ReferenceDefinitionsRequestBuilder; import com.microsoft.graph.beta.external.industrydata.rolegroups.RoleGroupsRequestBuilder; import com.microsoft.graph.beta.external.industrydata.runs.RunsRequestBuilder; @@ -52,6 +53,14 @@ public InboundFlowsRequestBuilder inboundFlows() { public OperationsRequestBuilder operations() { return new OperationsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the outboundProvisioningFlowSets property of the microsoft.graph.industryData.industryDataRoot entity. + * @return a {@link OutboundProvisioningFlowSetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OutboundProvisioningFlowSetsRequestBuilder outboundProvisioningFlowSets() { + return new OutboundProvisioningFlowSetsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the referenceDefinitions property of the microsoft.graph.industryData.industryDataRoot entity. * @return a {@link ReferenceDefinitionsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java index 516e5dd7cb9..882d5ad75c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IndustryDataConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/industryData/dataConnectors", 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/external/industrydata/dataconnectors/item/IndustryDataConnectorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/item/IndustryDataConnectorItemRequestBuilder.java index 77e00b977f9..0324e7e3580 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/item/IndustryDataConnectorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/item/IndustryDataConnectorItemRequestBuilder.java @@ -75,21 +75,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 azureDataLakeConnector object. + * Read the properties and relationships of an industryDataConnector object. * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector get() { return get(null); } /** - * Read the properties and relationships of an azureDataLakeConnector object. + * Read the properties and relationships of an industryDataConnector object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -99,23 +99,23 @@ public IndustryDataConnector get(@jakarta.annotation.Nullable final java.util.fu return this.requestAdapter.send(requestInfo, errorMapping, IndustryDataConnector::createFromDiscriminatorValue); } /** - * Update the properties of an azureDataLakeConnector object. + * Update the properties of an industryDataConnector object. * @param body The request body * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector patch(@jakarta.annotation.Nonnull final IndustryDataConnector body) { return patch(body, null); } /** - * Update the properties of an azureDataLakeConnector object. + * Update the properties of an industryDataConnector object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector patch(@jakarta.annotation.Nonnull final IndustryDataConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,13 +140,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}/external/industryData/dataConnectors/{industryDataConnector%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 azureDataLakeConnector object. + * Read the properties and relationships of an industryDataConnector object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -154,7 +154,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of an azureDataLakeConnector object. + * Read the properties and relationships of an industryDataConnector object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -166,7 +166,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an azureDataLakeConnector object. + * Update the properties of an industryDataConnector object. * @param body The request body * @return a {@link RequestInformation} */ @@ -175,7 +175,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of an azureDataLakeConnector object. + * Update the properties of an industryDataConnector object. * @param body The request body * @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 IndustryDataConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/industryData/dataConnectors/{industryDataConnector%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); @@ -206,7 +206,7 @@ public IndustryDataConnectorItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of an azureDataLakeConnector object. + * Read the properties and relationships of an industryDataConnector object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java index 1d9e93cfb33..1d2ee533f14 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java @@ -60,21 +60,21 @@ public InboundFlowsRequestBuilder(@jakarta.annotation.Nonnull final String rawUr super(requestAdapter, "{+baseurl}/external/industryData/inboundFlows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a list of the inboundFileFlow objects and their properties. + * Get a list of the inboundFlow objects and their properties. * @return a {@link InboundFlowCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlowCollectionResponse get() { return get(null); } /** - * Get a list of the inboundFileFlow objects and their properties. + * Get a list of the inboundFlow objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InboundFlowCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlowCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -111,7 +111,7 @@ public InboundFlow post(@jakarta.annotation.Nonnull final InboundFlow body, @jak return this.requestAdapter.send(requestInfo, errorMapping, InboundFlow::createFromDiscriminatorValue); } /** - * Get a list of the inboundFileFlow objects and their properties. + * Get a list of the inboundFlow objects and their properties. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of the inboundFileFlow objects and their properties. + * Get a list of the inboundFlow objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final InboundFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/industryData/inboundFlows", 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); @@ -165,7 +165,7 @@ public InboundFlowsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri return new InboundFlowsRequestBuilder(rawUrl, requestAdapter); } /** - * Get a list of the inboundFileFlow objects and their properties. + * Get a list of the inboundFlow objects and their properties. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java index 529abbae3f5..3ecc4951a6b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java @@ -99,23 +99,23 @@ public InboundFlow get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.send(requestInfo, errorMapping, InboundFlow::createFromDiscriminatorValue); } /** - * Update the properties of an inboundFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @return a {@link InboundFlow} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlow patch(@jakarta.annotation.Nonnull final InboundFlow body) { return patch(body, null); } /** - * Update the properties of an inboundFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InboundFlow} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlow patch(@jakarta.annotation.Nonnull final InboundFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -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}/external/industryData/inboundFlows/{inboundFlow%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -166,7 +166,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an inboundFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @return a {@link RequestInformation} */ @@ -175,7 +175,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of an inboundFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @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 InboundFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/industryData/inboundFlows/{inboundFlow%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/external/industrydata/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/OperationsRequestBuilder.java index cf2c6ce8522..b22296ee465 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/OperationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/industryData/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/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java index 57c763e9929..2bfd29b7ff7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.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}/external/industryData/operations/{longRunningOperation%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 LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/industryData/operations/{longRunningOperation%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/external/industrydata/outboundprovisioningflowsets/OutboundProvisioningFlowSetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/OutboundProvisioningFlowSetsRequestBuilder.java new file mode 100644 index 00000000000..7e08c439ea3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/OutboundProvisioningFlowSetsRequestBuilder.java @@ -0,0 +1,245 @@ +package com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets; + +import com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.count.CountRequestBuilder; +import com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item.OutboundProvisioningFlowSetItemRequestBuilder; +import com.microsoft.graph.beta.models.industrydata.OutboundProvisioningFlowSet; +import com.microsoft.graph.beta.models.industrydata.OutboundProvisioningFlowSetCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the outboundProvisioningFlowSets property of the microsoft.graph.industryData.industryDataRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OutboundProvisioningFlowSetsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the outboundProvisioningFlowSets property of the microsoft.graph.industryData.industryDataRoot entity. + * @param outboundProvisioningFlowSetId The unique identifier of outboundProvisioningFlowSet + * @return a {@link OutboundProvisioningFlowSetItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OutboundProvisioningFlowSetItemRequestBuilder byOutboundProvisioningFlowSetId(@jakarta.annotation.Nonnull final String outboundProvisioningFlowSetId) { + Objects.requireNonNull(outboundProvisioningFlowSetId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("outboundProvisioningFlowSet%2Did", outboundProvisioningFlowSetId); + return new OutboundProvisioningFlowSetItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link OutboundProvisioningFlowSetsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OutboundProvisioningFlowSetsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link OutboundProvisioningFlowSetsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OutboundProvisioningFlowSetsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the outboundProvisioningFlowSet objects and their properties. + * @return a {@link OutboundProvisioningFlowSetCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSetCollectionResponse get() { + return get(null); + } + /** + * Get a list of the outboundProvisioningFlowSet objects and their properties. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OutboundProvisioningFlowSetCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSetCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OutboundProvisioningFlowSetCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to outboundProvisioningFlowSets for external + * @param body The request body + * @return a {@link OutboundProvisioningFlowSet} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSet post(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body) { + return post(body, null); + } + /** + * Create new navigation property to outboundProvisioningFlowSets for external + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OutboundProvisioningFlowSet} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSet post(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OutboundProvisioningFlowSet::createFromDiscriminatorValue); + } + /** + * Get a list of the outboundProvisioningFlowSet objects and their properties. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the outboundProvisioningFlowSet objects and their properties. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to outboundProvisioningFlowSets for external + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to outboundProvisioningFlowSets for external + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link OutboundProvisioningFlowSetsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OutboundProvisioningFlowSetsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new OutboundProvisioningFlowSetsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the outboundProvisioningFlowSet objects and their properties. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/count/CountRequestBuilder.java new file mode 100644 index 00000000000..fad41a12c4a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/OutboundProvisioningFlowSetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/OutboundProvisioningFlowSetItemRequestBuilder.java new file mode 100644 index 00000000000..1f572664a6f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/OutboundProvisioningFlowSetItemRequestBuilder.java @@ -0,0 +1,237 @@ +package com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item; + +import com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item.provisioningflows.ProvisioningFlowsRequestBuilder; +import com.microsoft.graph.beta.models.industrydata.OutboundProvisioningFlowSet; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the outboundProvisioningFlowSets property of the microsoft.graph.industryData.industryDataRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OutboundProvisioningFlowSetItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the provisioningFlows property of the microsoft.graph.industryData.outboundProvisioningFlowSet entity. + * @return a {@link ProvisioningFlowsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisioningFlowsRequestBuilder provisioningFlows() { + return new ProvisioningFlowsRequestBuilder(pathParameters, requestAdapter); + } + /** + * Instantiates a new {@link OutboundProvisioningFlowSetItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OutboundProvisioningFlowSetItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link OutboundProvisioningFlowSetItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OutboundProvisioningFlowSetItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property outboundProvisioningFlowSets for external + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property outboundProvisioningFlowSets for external + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get outboundProvisioningFlowSets from external + * @return a {@link OutboundProvisioningFlowSet} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSet get() { + return get(null); + } + /** + * Get outboundProvisioningFlowSets from external + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OutboundProvisioningFlowSet} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSet get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OutboundProvisioningFlowSet::createFromDiscriminatorValue); + } + /** + * Update the navigation property outboundProvisioningFlowSets in external + * @param body The request body + * @return a {@link OutboundProvisioningFlowSet} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSet patch(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body) { + return patch(body, null); + } + /** + * Update the navigation property outboundProvisioningFlowSets in external + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OutboundProvisioningFlowSet} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public OutboundProvisioningFlowSet patch(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OutboundProvisioningFlowSet::createFromDiscriminatorValue); + } + /** + * Delete navigation property outboundProvisioningFlowSets for external + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property outboundProvisioningFlowSets for external + * @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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get outboundProvisioningFlowSets from external + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get outboundProvisioningFlowSets from external + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property outboundProvisioningFlowSets in external + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property outboundProvisioningFlowSets in external + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OutboundProvisioningFlowSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link OutboundProvisioningFlowSetItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OutboundProvisioningFlowSetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new OutboundProvisioningFlowSetItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get outboundProvisioningFlowSets from external + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/ProvisioningFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/ProvisioningFlowsRequestBuilder.java new file mode 100644 index 00000000000..0170515ea3c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/ProvisioningFlowsRequestBuilder.java @@ -0,0 +1,247 @@ +package com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item.provisioningflows; + +import com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item.provisioningflows.count.CountRequestBuilder; +import com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item.provisioningflows.item.ProvisioningFlowItemRequestBuilder; +import com.microsoft.graph.beta.models.industrydata.ProvisioningFlow; +import com.microsoft.graph.beta.models.industrydata.ProvisioningFlowCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the provisioningFlows property of the microsoft.graph.industryData.outboundProvisioningFlowSet entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProvisioningFlowsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the provisioningFlows property of the microsoft.graph.industryData.outboundProvisioningFlowSet entity. + * @param provisioningFlowId The unique identifier of provisioningFlow + * @return a {@link ProvisioningFlowItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisioningFlowItemRequestBuilder byProvisioningFlowId(@jakarta.annotation.Nonnull final String provisioningFlowId) { + Objects.requireNonNull(provisioningFlowId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("provisioningFlow%2Did", provisioningFlowId); + return new ProvisioningFlowItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ProvisioningFlowsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisioningFlowsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}/provisioningFlows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ProvisioningFlowsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisioningFlowsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}/provisioningFlows{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of the provisioningFlow objects and their properties. + * @return a {@link ProvisioningFlowCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlowCollectionResponse get() { + return get(null); + } + /** + * Get a list of the provisioningFlow objects and their properties. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProvisioningFlowCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlowCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProvisioningFlowCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create a new provisioningFlow object. + * @param body The request body + * @return a {@link ProvisioningFlow} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlow post(@jakarta.annotation.Nonnull final ProvisioningFlow body) { + return post(body, null); + } + /** + * Create a new provisioningFlow object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProvisioningFlow} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlow post(@jakarta.annotation.Nonnull final ProvisioningFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProvisioningFlow::createFromDiscriminatorValue); + } + /** + * Get a list of the provisioningFlow objects and their properties. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of the provisioningFlow objects and their properties. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create a new provisioningFlow object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisioningFlow body) { + return toPostRequestInformation(body, null); + } + /** + * Create a new provisioningFlow object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProvisioningFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ProvisioningFlowsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisioningFlowsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProvisioningFlowsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of the provisioningFlow objects and their properties. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/count/CountRequestBuilder.java new file mode 100644 index 00000000000..5e5c7039c99 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item.provisioningflows.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}/provisioningFlows/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}/provisioningFlows/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/item/ProvisioningFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/item/ProvisioningFlowItemRequestBuilder.java new file mode 100644 index 00000000000..b187f594c93 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/outboundprovisioningflowsets/item/provisioningflows/item/ProvisioningFlowItemRequestBuilder.java @@ -0,0 +1,234 @@ +package com.microsoft.graph.beta.external.industrydata.outboundprovisioningflowsets.item.provisioningflows.item; + +import com.microsoft.graph.beta.models.industrydata.ProvisioningFlow; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the provisioningFlows property of the microsoft.graph.industryData.outboundProvisioningFlowSet entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ProvisioningFlowItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ProvisioningFlowItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisioningFlowItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}/provisioningFlows/{provisioningFlow%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ProvisioningFlowItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ProvisioningFlowItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/external/industryData/outboundProvisioningFlowSets/{outboundProvisioningFlowSet%2Did}/provisioningFlows/{provisioningFlow%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete a classGroupProvisioningFlow object. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Delete a classGroupProvisioningFlow 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 + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties and relationships of an administrativeUnitProvisioningFlow object. + * @return a {@link ProvisioningFlow} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlow get() { + return get(null); + } + /** + * Read the properties and relationships of an administrativeUnitProvisioningFlow object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProvisioningFlow} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlow get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProvisioningFlow::createFromDiscriminatorValue); + } + /** + * Update the properties of an administrativeUnitProvisioningFlow object. + * @param body The request body + * @return a {@link ProvisioningFlow} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlow patch(@jakarta.annotation.Nonnull final ProvisioningFlow body) { + return patch(body, null); + } + /** + * Update the properties of an administrativeUnitProvisioningFlow object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ProvisioningFlow} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public ProvisioningFlow patch(@jakarta.annotation.Nonnull final ProvisioningFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ProvisioningFlow::createFromDiscriminatorValue); + } + /** + * Delete a classGroupProvisioningFlow object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete a classGroupProvisioningFlow 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, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties and relationships of an administrativeUnitProvisioningFlow object. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties and relationships of an administrativeUnitProvisioningFlow object. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the properties of an administrativeUnitProvisioningFlow object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProvisioningFlow body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of an administrativeUnitProvisioningFlow object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProvisioningFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + 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); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ProvisioningFlowItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ProvisioningFlowItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ProvisioningFlowItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties and relationships of an administrativeUnitProvisioningFlow object. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/referencedefinitions/ReferenceDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/referencedefinitions/ReferenceDefinitionsRequestBuilder.java index 89707990bfb..6ee2371cf1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/referencedefinitions/ReferenceDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/referencedefinitions/ReferenceDefinitionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/industryData/referenceDefinitions", 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/external/industrydata/referencedefinitions/item/ReferenceDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/referencedefinitions/item/ReferenceDefinitionItemRequestBuilder.java index 822ccdd4370..7951c571962 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/referencedefinitions/item/ReferenceDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/referencedefinitions/item/ReferenceDefinitionItemRequestBuilder.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}/external/industryData/referenceDefinitions/{referenceDefinition%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 ReferenceDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/industryData/referenceDefinitions/{referenceDefinition%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/external/industrydata/rolegroups/RoleGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/rolegroups/RoleGroupsRequestBuilder.java index 5efc8956e7d..c954ba3314e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/rolegroups/RoleGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/rolegroups/RoleGroupsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RoleGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/industryData/roleGroups", 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/external/industrydata/rolegroups/item/RoleGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/rolegroups/item/RoleGroupItemRequestBuilder.java index 0e8b94cc19b..8fab0f88361 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/rolegroups/item/RoleGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/rolegroups/item/RoleGroupItemRequestBuilder.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}/external/industryData/roleGroups/{roleGroup%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 RoleGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/industryData/roleGroups/{roleGroup%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/external/industrydata/sourcesystems/SourceSystemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/sourcesystems/SourceSystemsRequestBuilder.java index ec32d209982..2e4c871b57d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/sourcesystems/SourceSystemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/sourcesystems/SourceSystemsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SourceSystemDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/industryData/sourceSystems", 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/external/industrydata/sourcesystems/item/SourceSystemDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/sourcesystems/item/SourceSystemDefinitionItemRequestBuilder.java index 24dc2f77fdd..f68a4e3bb7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/sourcesystems/item/SourceSystemDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/sourcesystems/item/SourceSystemDefinitionItemRequestBuilder.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}/external/industryData/sourceSystems/{sourceSystemDefinition%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 SourceSystemDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/industryData/sourceSystems/{sourceSystemDefinition%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/external/industrydata/years/YearsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/years/YearsRequestBuilder.java index 491602918a0..685283b2369 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/years/YearsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/years/YearsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final YearTimePeriodDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/external/industryData/years", 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/external/industrydata/years/item/YearTimePeriodDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/years/item/YearTimePeriodDefinitionItemRequestBuilder.java index 3af7ef46fb1..7a18e0818c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/years/item/YearTimePeriodDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/years/item/YearTimePeriodDefinitionItemRequestBuilder.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}/external/industryData/years/{yearTimePeriodDefinition%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 YearTimePeriodDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/external/industryData/years/{yearTimePeriodDefinition%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/filteroperators/FilterOperatorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/filteroperators/FilterOperatorsRequestBuilder.java index 017cf6ebba3..2ec13c78cf6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/filteroperators/FilterOperatorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/filteroperators/FilterOperatorsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final FilterOperatorSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/filterOperators", 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/filteroperators/item/FilterOperatorSchemaItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/filteroperators/item/FilterOperatorSchemaItemRequestBuilder.java index 13de2b6b392..22ac91d6604 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/filteroperators/item/FilterOperatorSchemaItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/filteroperators/item/FilterOperatorSchemaItemRequestBuilder.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}/filterOperators/{filterOperatorSchema%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 FilterOperatorSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/filterOperators/{filterOperatorSchema%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/financials/FinancialsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/FinancialsRequestBuilder.java index 47797d3b50c..ab2d9c6f0af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/FinancialsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/FinancialsRequestBuilder.java @@ -130,7 +130,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Financials body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials", 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/financials/companies/item/companyinformation/item/CompanyInformationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/companyinformation/item/CompanyInformationItemRequestBuilder.java index e2a7a97d1bf..95815c520db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/companyinformation/item/CompanyInformationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/companyinformation/item/CompanyInformationItemRequestBuilder.java @@ -130,7 +130,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CompanyInformation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/companyInformation/{companyInformation%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/financials/companies/item/countriesregions/CountriesRegionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/countriesregions/CountriesRegionsRequestBuilder.java index e2f4220f8c5..8c6c6e54ad2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/countriesregions/CountriesRegionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/countriesregions/CountriesRegionsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CountryRegion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/countriesRegions", 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/financials/companies/item/countriesregions/item/CountryRegionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/countriesregions/item/CountryRegionItemRequestBuilder.java index f68611f6d8a..35e904a4d94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/countriesregions/item/CountryRegionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/countriesregions/item/CountryRegionItemRequestBuilder.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}/financials/companies/{company%2Did}/countriesRegions/{countryRegion%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 CountryRegion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/countriesRegions/{countryRegion%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/financials/companies/item/currencies/CurrenciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/currencies/CurrenciesRequestBuilder.java index 9c651044602..6d1c8f8dc02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/currencies/CurrenciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/currencies/CurrenciesRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/currencies", 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/financials/companies/item/currencies/item/CurrencyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/currencies/item/CurrencyItemRequestBuilder.java index 0547a9f90fc..fba62df1ca8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/currencies/item/CurrencyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/currencies/item/CurrencyItemRequestBuilder.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}/financials/companies/{company%2Did}/currencies/{currency%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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/currencies/{currency%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/financials/companies/item/customerpaymentjournals/CustomerPaymentJournalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/CustomerPaymentJournalsRequestBuilder.java index 6d69b3bbfbc..c4810b3706e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/CustomerPaymentJournalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/CustomerPaymentJournalsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomerPaymentJournal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals", 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/financials/companies/item/customerpaymentjournals/item/CustomerPaymentJournalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/CustomerPaymentJournalItemRequestBuilder.java index 0c20ed83830..f1607e8db4d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/CustomerPaymentJournalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/CustomerPaymentJournalItemRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%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 CustomerPaymentJournal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%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/financials/companies/item/customerpaymentjournals/item/customerpayments/CustomerPaymentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/CustomerPaymentsRequestBuilder.java index 5e5bb78feb9..bd7adfb9af9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/CustomerPaymentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/CustomerPaymentsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomerPayment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments", 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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/CustomerPaymentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/CustomerPaymentItemRequestBuilder.java index 3bc9ffac403..0bfa27ebefc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/CustomerPaymentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/CustomerPaymentItemRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%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 CustomerPayment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/CustomerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/CustomerRequestBuilder.java index 565bb537f52..d1fd8494e29 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/CustomerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/CustomerRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer", 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 Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer", 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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.java index 7f669313747..346646d4d70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/currency", 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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.java index 83334140752..7b530cbfdde 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentMethod", 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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.java index cad1941554c..159ed5976cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentTerm", 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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/PictureRequestBuilder.java index 612bbe7b813..c78df6fa401 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/picture", 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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.java index 40cc9246b65..c4e30f480b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/picture/{picture%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/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java index f4bdd07a023..cca107c19db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpaymentjournals/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPaymentJournals/{customerPaymentJournal%2Did}/customerPayments/{customerPayment%2Did}/customer/shipmentMethod", 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/financials/companies/item/customerpayments/CustomerPaymentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/CustomerPaymentsRequestBuilder.java index 0bc8690d99f..c04d21c7389 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/CustomerPaymentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/CustomerPaymentsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomerPayment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/customerPayments", 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/financials/companies/item/customerpayments/item/CustomerPaymentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/CustomerPaymentItemRequestBuilder.java index cd64dee562c..147aaa0d1e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/CustomerPaymentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/CustomerPaymentItemRequestBuilder.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}/financials/companies/{company%2Did}/customerPayments/{customerPayment%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 CustomerPayment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%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/financials/companies/item/customerpayments/item/customer/CustomerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/CustomerRequestBuilder.java index c6f629ef817..0066a3d55f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/CustomerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/CustomerRequestBuilder.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}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer", 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 Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer", 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/financials/companies/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.java index 5c7713beb33..a9767e54c04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/currency", 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/financials/companies/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.java index c693eeabba1..abb6e0b9295 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentMethod", 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/financials/companies/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.java index 9d33344ce2a..64e0b7e1841 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/paymentTerm", 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/financials/companies/item/customerpayments/item/customer/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/picture/PictureRequestBuilder.java index e50ee9fb14f..fa5514b441b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/picture", 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/financials/companies/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.java index 8451cc3262c..44b972e3245 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/picture/{picture%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/financials/companies/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java index cbd1e786604..a2b2afba5a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customerpayments/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customerPayments/{customerPayment%2Did}/customer/shipmentMethod", 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/financials/companies/item/customers/CustomersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/CustomersRequestBuilder.java index 65b4070d56a..d61da5c06bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/CustomersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/CustomersRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/customers", 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/financials/companies/item/customers/item/CustomerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/CustomerItemRequestBuilder.java index 99f3ef1a18d..17e1555e37a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/CustomerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/CustomerItemRequestBuilder.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}/financials/companies/{company%2Did}/customers/{customer%2Did}", 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 Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customers/{customer%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/financials/companies/item/customers/item/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/currency/CurrencyRequestBuilder.java index 5e38db5616f..c812534d199 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/customers/{customer%2Did}/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customers/{customer%2Did}/currency", 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/financials/companies/item/customers/item/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/paymentmethod/PaymentMethodRequestBuilder.java index 86efd6c8e91..ec05c3c985c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/customers/{customer%2Did}/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customers/{customer%2Did}/paymentMethod", 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/financials/companies/item/customers/item/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/paymentterm/PaymentTermRequestBuilder.java index 11e9375f800..19c62762bc0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/customers/{customer%2Did}/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customers/{customer%2Did}/paymentTerm", 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/financials/companies/item/customers/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/picture/PictureRequestBuilder.java index 5d3c6161385..e9a1469e626 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/customers/{customer%2Did}/picture", 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/financials/companies/item/customers/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/picture/item/PictureItemRequestBuilder.java index 1346ad586df..f7e83fd2bd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/customers/{customer%2Did}/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customers/{customer%2Did}/picture/{picture%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/financials/companies/item/customers/item/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/shipmentmethod/ShipmentMethodRequestBuilder.java index 9c9d495d7c0..d9402484c9f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/customers/item/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/customers/{customer%2Did}/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/customers/{customer%2Did}/shipmentMethod", 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/financials/companies/item/employees/EmployeesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/EmployeesRequestBuilder.java index ff4a85a00cb..1cdc932695f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/EmployeesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/EmployeesRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Employee body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/employees", 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/financials/companies/item/employees/item/EmployeeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/EmployeeItemRequestBuilder.java index fc0aeab8878..f12dc690867 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/EmployeeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/EmployeeItemRequestBuilder.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}/financials/companies/{company%2Did}/employees/{employee%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 Employee body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/employees/{employee%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/financials/companies/item/employees/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/picture/PictureRequestBuilder.java index f73e5d2b89a..c7b42a834ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/employees/{employee%2Did}/picture", 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/financials/companies/item/employees/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/picture/item/PictureItemRequestBuilder.java index f014d496ba8..d04822533c4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/employees/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/employees/{employee%2Did}/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/employees/{employee%2Did}/picture/{picture%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/financials/companies/item/itemcategories/ItemCategoriesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/itemcategories/ItemCategoriesRequestBuilder.java index 257ebb1f0ff..e7ffb1ac5bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/itemcategories/ItemCategoriesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/itemcategories/ItemCategoriesRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/itemCategories", 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/financials/companies/item/itemcategories/item/ItemCategoryItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/itemcategories/item/ItemCategoryItemRequestBuilder.java index e074adc75ea..98b0a42206f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/itemcategories/item/ItemCategoryItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/itemcategories/item/ItemCategoryItemRequestBuilder.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}/financials/companies/{company%2Did}/itemCategories/{itemCategory%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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/itemCategories/{itemCategory%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/financials/companies/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/ItemsRequestBuilder.java index 58d4831e18c..949b4cd8b0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/ItemsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/items", 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/financials/companies/item/items/item/ItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/ItemItemRequestBuilder.java index c567ec737ad..50c82951d00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/ItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/ItemItemRequestBuilder.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}/financials/companies/{company%2Did}/items/{item%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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/items/{item%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/financials/companies/item/items/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/itemcategory/ItemCategoryRequestBuilder.java index 34bbd73c32b..3cc51b33812 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/items/{item%2Did}/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/items/{item%2Did}/itemCategory", 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/financials/companies/item/items/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/picture/PictureRequestBuilder.java index dd58ffa7614..60ccf3ea9ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/items/{item%2Did}/picture", 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/financials/companies/item/items/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/picture/item/PictureItemRequestBuilder.java index 953af3deae5..7b595ed0b15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/items/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/items/{item%2Did}/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/items/{item%2Did}/picture/{picture%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/financials/companies/item/journallines/JournalLinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journallines/JournalLinesRequestBuilder.java index 130ac03eaa3..b67d9a21e83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journallines/JournalLinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journallines/JournalLinesRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final JournalLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/journalLines", 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/financials/companies/item/journallines/item/JournalLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journallines/item/JournalLineItemRequestBuilder.java index f4353db5470..4ce75b91862 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journallines/item/JournalLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journallines/item/JournalLineItemRequestBuilder.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}/financials/companies/{company%2Did}/journalLines/{journalLine%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 JournalLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/journalLines/{journalLine%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/financials/companies/item/journals/JournalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/JournalsRequestBuilder.java index 4fef1bed2eb..4706304e712 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/JournalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/JournalsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Journal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/journals", 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/financials/companies/item/journals/item/JournalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/JournalItemRequestBuilder.java index 4e5b5a45e82..d91d05c7aea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/JournalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/JournalItemRequestBuilder.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}/financials/companies/{company%2Did}/journals/{journal%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 Journal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/journals/{journal%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/financials/companies/item/journals/item/journallines/JournalLinesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/journallines/JournalLinesRequestBuilder.java index c2072c89882..17c20f54979 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/journallines/JournalLinesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/journallines/JournalLinesRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final JournalLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/journals/{journal%2Did}/journalLines", 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/financials/companies/item/journals/item/journallines/item/JournalLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/journallines/item/JournalLineItemRequestBuilder.java index 4ea7ce96050..b63f87bc6fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/journallines/item/JournalLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/journals/item/journallines/item/JournalLineItemRequestBuilder.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}/financials/companies/{company%2Did}/journals/{journal%2Did}/journalLines/{journalLine%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 JournalLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/journals/{journal%2Did}/journalLines/{journalLine%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/financials/companies/item/paymentmethods/PaymentMethodsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentmethods/PaymentMethodsRequestBuilder.java index 9d69a4621a0..8dc5054f2e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentmethods/PaymentMethodsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentmethods/PaymentMethodsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/paymentMethods", 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/financials/companies/item/paymentmethods/item/PaymentMethodItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentmethods/item/PaymentMethodItemRequestBuilder.java index afbbb94af23..6ae14be67b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentmethods/item/PaymentMethodItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentmethods/item/PaymentMethodItemRequestBuilder.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}/financials/companies/{company%2Did}/paymentMethods/{paymentMethod%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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/paymentMethods/{paymentMethod%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/financials/companies/item/paymentterms/PaymentTermsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentterms/PaymentTermsRequestBuilder.java index f39db62ab1c..dad3599595b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentterms/PaymentTermsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentterms/PaymentTermsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/paymentTerms", 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/financials/companies/item/paymentterms/item/PaymentTermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentterms/item/PaymentTermItemRequestBuilder.java index 71834633560..49809b92c43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentterms/item/PaymentTermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/paymentterms/item/PaymentTermItemRequestBuilder.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}/financials/companies/{company%2Did}/paymentTerms/{paymentTerm%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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/paymentTerms/{paymentTerm%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/financials/companies/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/picture/PictureRequestBuilder.java index 7db9a325097..2f4296540ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/picture", 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/financials/companies/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/picture/item/PictureItemRequestBuilder.java index 9ac46e1c82e..666eb2d485b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/picture/{picture%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/financials/companies/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java index 91f6053005f..977886b7499 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PurchaseInvoiceLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%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/financials/companies/item/purchaseinvoicelines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/ItemRequestBuilder.java index ea05af380bb..7ced3eccc2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item", 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/financials/companies/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java index 54e9e1973e6..330a493a985 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/itemCategory", 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/financials/companies/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java index 36be63cdf06..bbfb18ed1f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/picture", 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/financials/companies/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java index 82bc6b3710c..e26bd7399b3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/picture/{picture%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/financials/companies/item/purchaseinvoices/item/PurchaseInvoiceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/PurchaseInvoiceItemRequestBuilder.java index a90fe5c2c96..7ec8d8daae6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/PurchaseInvoiceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/PurchaseInvoiceItemRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PurchaseInvoice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%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/financials/companies/item/purchaseinvoices/item/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/currency/CurrencyRequestBuilder.java index 4d8102365d0..abfd9b04164 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/currency", 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/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java index 58974136d11..1d54396af75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/PurchaseInvoiceLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PurchaseInvoiceLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%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/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/ItemRequestBuilder.java index 3a1a19608d2..61cfc633c91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item", 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/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java index acbaeee2d83..47d720a05d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/itemCategory", 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/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java index c7d1f970b70..8a047a4a8df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/picture", 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/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java index 39843fa3316..e273af8943a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/purchaseinvoicelines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/purchaseInvoiceLines/{purchaseInvoiceLine%2Did}/item/picture/{picture%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/financials/companies/item/purchaseinvoices/item/vendor/VendorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/VendorRequestBuilder.java index 11da00cc552..27ed5e49098 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/VendorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/VendorRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor", 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 Vendor body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor", 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/financials/companies/item/purchaseinvoices/item/vendor/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/currency/CurrencyRequestBuilder.java index f77235518eb..d6cbc72fdbb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/currency", 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/financials/companies/item/purchaseinvoices/item/vendor/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/paymentmethod/PaymentMethodRequestBuilder.java index bda63088e69..e970dbea7b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/paymentMethod", 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/financials/companies/item/purchaseinvoices/item/vendor/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/paymentterm/PaymentTermRequestBuilder.java index f916285e892..7a8a42a3b2b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/paymentTerm", 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/financials/companies/item/purchaseinvoices/item/vendor/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/picture/PictureRequestBuilder.java index 024bc03f07f..4ae0c15ee44 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/picture", 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/financials/companies/item/purchaseinvoices/item/vendor/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/picture/item/PictureItemRequestBuilder.java index 4212264bf00..7428ed1d9f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/purchaseinvoices/item/vendor/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/purchaseInvoices/{purchaseInvoice%2Did}/vendor/picture/{picture%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/financials/companies/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java index befef803774..b9bf3ad3a31 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesCreditMemoLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%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/financials/companies/item/salescreditmemolines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/ItemRequestBuilder.java index 85740053ccb..e3df7d05b3c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item", 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/financials/companies/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.java index 87c58ec8361..6afb1279834 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/itemCategory", 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/financials/companies/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java index 32b8884fdbf..f4084b28bd3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/picture", 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/financials/companies/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.java index b74cccc4b5e..6e8c0ff82ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/picture/{picture%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/financials/companies/item/salescreditmemos/item/SalesCreditMemoItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/SalesCreditMemoItemRequestBuilder.java index 997fc214964..e1ab3b315d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/SalesCreditMemoItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/SalesCreditMemoItemRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesCreditMemo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%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/financials/companies/item/salescreditmemos/item/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/currency/CurrencyRequestBuilder.java index 5a75875568e..9209e38abeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/currency", 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/financials/companies/item/salescreditmemos/item/customer/CustomerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/CustomerRequestBuilder.java index b26617b7171..b650c5291ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/CustomerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/CustomerRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer", 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 Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer", 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/financials/companies/item/salescreditmemos/item/customer/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/currency/CurrencyRequestBuilder.java index 622ae74dffa..14f926b2b27 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/currency", 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/financials/companies/item/salescreditmemos/item/customer/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/paymentmethod/PaymentMethodRequestBuilder.java index 0e89e98795f..3791d142df0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/paymentMethod", 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/financials/companies/item/salescreditmemos/item/customer/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/paymentterm/PaymentTermRequestBuilder.java index a124da08fa8..bdddad2eda1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/paymentTerm", 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/financials/companies/item/salescreditmemos/item/customer/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/picture/PictureRequestBuilder.java index 7f563e62baf..fd3e90a1125 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/picture", 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/financials/companies/item/salescreditmemos/item/customer/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/picture/item/PictureItemRequestBuilder.java index c63dc594661..1b82506a8c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/picture/{picture%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/financials/companies/item/salescreditmemos/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java index 1d9b42a60b7..49acca89991 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/customer/shipmentMethod", 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/financials/companies/item/salescreditmemos/item/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/paymentterm/PaymentTermRequestBuilder.java index 1c818776e22..00cfc93b020 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/paymentTerm", 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/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java index 4170afe9274..a1e0a8e3825 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/SalesCreditMemoLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesCreditMemoLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%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/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/ItemRequestBuilder.java index 4240c1b1b84..7118ca25274 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item", 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/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.java index 387198a2190..c6da8311e44 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/itemCategory", 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/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java index 7a3d1065099..1e2c4ecceb9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/picture", 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/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.java index 651909d616c..47d1b4babf0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salescreditmemos/item/salescreditmemolines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesCreditMemos/{salesCreditMemo%2Did}/salesCreditMemoLines/{salesCreditMemoLine%2Did}/item/picture/{picture%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/financials/companies/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java index 7eda5da7777..233f08dae54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesInvoiceLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%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/financials/companies/item/salesinvoicelines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/ItemRequestBuilder.java index 0a150c643e0..112e8da4023 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item", 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/financials/companies/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java index b75b44b7434..86a60a69c0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/itemCategory", 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/financials/companies/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java index 6a54ea4b891..1ceca0265eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/picture", 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/financials/companies/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java index 096cde3e82e..bfa6b6feb98 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/picture/{picture%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/financials/companies/item/salesinvoices/item/SalesInvoiceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/SalesInvoiceItemRequestBuilder.java index 18b33735742..16dd0189333 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/SalesInvoiceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/SalesInvoiceItemRequestBuilder.java @@ -211,7 +211,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesInvoice body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%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/financials/companies/item/salesinvoices/item/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/currency/CurrencyRequestBuilder.java index edb05d01d00..ff5dda3e3fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/currency", 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/financials/companies/item/salesinvoices/item/customer/CustomerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/CustomerRequestBuilder.java index 13e055488c4..b9883f4e10e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/CustomerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/CustomerRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer", 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 Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer", 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/financials/companies/item/salesinvoices/item/customer/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/currency/CurrencyRequestBuilder.java index bee4fb870cc..ed5df10aba0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/currency", 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/financials/companies/item/salesinvoices/item/customer/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/paymentmethod/PaymentMethodRequestBuilder.java index 3fa06cdeb3c..95b370f8ae6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/paymentMethod", 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/financials/companies/item/salesinvoices/item/customer/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/paymentterm/PaymentTermRequestBuilder.java index d166876cfc0..442fec14f5d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/paymentTerm", 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/financials/companies/item/salesinvoices/item/customer/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/picture/PictureRequestBuilder.java index 88756492957..4527769cf99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/picture", 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/financials/companies/item/salesinvoices/item/customer/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/picture/item/PictureItemRequestBuilder.java index 20c30e645f3..0d59101e1a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/picture/{picture%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/financials/companies/item/salesinvoices/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java index 3fa4a6f4523..77ad00378f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/customer/shipmentMethod", 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/financials/companies/item/salesinvoices/item/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/paymentterm/PaymentTermRequestBuilder.java index 903de7f752e..d1176cd97eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/paymentTerm", 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/financials/companies/item/salesinvoices/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java index 78e8864c1e6..7d245e1b229 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/SalesInvoiceLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesInvoiceLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%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/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/ItemRequestBuilder.java index 3b1a0c223c7..1d671b16d92 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item", 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/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java index aa732e0e6ee..0cb6ca42c56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/itemCategory", 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/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java index 484f08c795a..461c813a45b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/picture", 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/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java index 7bd00c41e80..771bc49d648 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/salesinvoicelines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/salesInvoiceLines/{salesInvoiceLine%2Did}/item/picture/{picture%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/financials/companies/item/salesinvoices/item/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/shipmentmethod/ShipmentMethodRequestBuilder.java index 4817fcb1d87..012bb563a87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesinvoices/item/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesInvoices/{salesInvoice%2Did}/shipmentMethod", 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/financials/companies/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java index 07cc34e9681..d92e05fb6a9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesOrderLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%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/financials/companies/item/salesorderlines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/ItemRequestBuilder.java index c1e89416eab..7d12b5d3c2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%2Did}/item", 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/financials/companies/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.java index 0c1c5624258..ef237e6f572 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/itemCategory", 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/financials/companies/item/salesorderlines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/picture/PictureRequestBuilder.java index 5ee6ae920f9..be34cc1d611 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/picture", 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/financials/companies/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.java index 3797e5156d0..560ba3f822a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/picture/{picture%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/financials/companies/item/salesorders/item/SalesOrderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/SalesOrderItemRequestBuilder.java index 6dfb0c8df84..edc724631c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/SalesOrderItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/SalesOrderItemRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesOrder body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%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/financials/companies/item/salesorders/item/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/currency/CurrencyRequestBuilder.java index 3b773b1aeb5..d29198ab50c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/currency", 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/financials/companies/item/salesorders/item/customer/CustomerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/CustomerRequestBuilder.java index e9495b7d770..3792a175ce6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/CustomerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/CustomerRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer", 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 Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer", 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/financials/companies/item/salesorders/item/customer/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/currency/CurrencyRequestBuilder.java index 250ae69178e..6083982ef1e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/currency", 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/financials/companies/item/salesorders/item/customer/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/paymentmethod/PaymentMethodRequestBuilder.java index 9400c87785c..fe716f84765 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/paymentMethod", 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/financials/companies/item/salesorders/item/customer/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/paymentterm/PaymentTermRequestBuilder.java index 5566e0f4a28..0d689012596 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/paymentTerm", 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/financials/companies/item/salesorders/item/customer/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/picture/PictureRequestBuilder.java index 8de60d35c43..36cfec3f6ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/picture", 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/financials/companies/item/salesorders/item/customer/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/picture/item/PictureItemRequestBuilder.java index 96112e2e3e3..6b461d23272 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/picture/{picture%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/financials/companies/item/salesorders/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java index ad8f88eab65..3fd3ff57605 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/customer/shipmentMethod", 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/financials/companies/item/salesorders/item/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/paymentterm/PaymentTermRequestBuilder.java index d7dcc3f1af3..c42523d48e0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/paymentTerm", 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/financials/companies/item/salesorders/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java index 961fa5987b1..f169d09add7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/SalesOrderLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesOrderLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%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/financials/companies/item/salesorders/item/salesorderlines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/ItemRequestBuilder.java index aedc2212df1..381111e4fa1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%2Did}/item", 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/financials/companies/item/salesorders/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.java index 165e33d0912..d411f44de0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/itemCategory", 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/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/PictureRequestBuilder.java index 3140145306b..7fdb5ac1a8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/picture", 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/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.java index 281ee491698..fc6943eb76c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesorders/item/salesorderlines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesOrders/{salesOrder%2Did}/salesOrderLines/{salesOrderLine%2Did}/item/picture/{picture%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/financials/companies/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java index 92fdc725e6c..a86a838de1e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesQuoteLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%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/financials/companies/item/salesquotelines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/ItemRequestBuilder.java index a8eb0544e9f..807b00bd296 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item", 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/financials/companies/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.java index 1a0ef361c83..ef0705dc6bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/itemCategory", 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/financials/companies/item/salesquotelines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/picture/PictureRequestBuilder.java index d3938546f03..1eb6384e876 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/picture", 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/financials/companies/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.java index e273a40a3d9..6ac9a5c284a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/picture/{picture%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/financials/companies/item/salesquotes/item/SalesQuoteItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/SalesQuoteItemRequestBuilder.java index 362ff99a44e..db6737122ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/SalesQuoteItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/SalesQuoteItemRequestBuilder.java @@ -184,7 +184,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesQuote body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%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/financials/companies/item/salesquotes/item/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/currency/CurrencyRequestBuilder.java index 9073c7b8a80..90cc48aff1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/currency", 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/financials/companies/item/salesquotes/item/customer/CustomerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/CustomerRequestBuilder.java index b0def454e78..49621ea52d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/CustomerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/CustomerRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer", 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 Customer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer", 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/financials/companies/item/salesquotes/item/customer/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/currency/CurrencyRequestBuilder.java index f3aea9dcc7a..19bc217fef5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/currency", 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/financials/companies/item/salesquotes/item/customer/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/paymentmethod/PaymentMethodRequestBuilder.java index 879f88c7ef3..80b86294122 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/paymentMethod", 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/financials/companies/item/salesquotes/item/customer/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/paymentterm/PaymentTermRequestBuilder.java index a1b5e2a6a68..7a2eb31d866 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/paymentTerm", 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/financials/companies/item/salesquotes/item/customer/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/picture/PictureRequestBuilder.java index f31af3a410f..992a358a9bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/picture", 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/financials/companies/item/salesquotes/item/customer/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/picture/item/PictureItemRequestBuilder.java index 8534437f064..92e29e8ece7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/picture/{picture%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/financials/companies/item/salesquotes/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java index 1c73045832f..9b4314ea585 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/customer/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/customer/shipmentMethod", 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/financials/companies/item/salesquotes/item/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/paymentterm/PaymentTermRequestBuilder.java index 13920f25103..16505d180ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/paymentTerm", 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/financials/companies/item/salesquotes/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java index 3e833a560b6..0b7aff10a87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/SalesQuoteLineItemRequestBuilder.java @@ -139,7 +139,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SalesQuoteLine body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%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/financials/companies/item/salesquotes/item/salesquotelines/item/item/ItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/ItemRequestBuilder.java index c65a258907c..6483ccad2ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/ItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/ItemRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item", 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 Item body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item", 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/financials/companies/item/salesquotes/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.java index d0c54a09ecb..a611da989dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/itemcategory/ItemCategoryRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/itemCategory", 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 ItemCategory body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/itemCategory", 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/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/PictureRequestBuilder.java index c0650b98dfb..fa79988d0e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/picture", 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/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.java index e0eb72bde2a..e047914d4dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/salesquotelines/item/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/salesQuoteLines/{salesQuoteLine%2Did}/item/picture/{picture%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/financials/companies/item/salesquotes/item/shipmentmethod/ShipmentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/shipmentmethod/ShipmentMethodRequestBuilder.java index 3cc1c21570a..9e543e17324 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/shipmentmethod/ShipmentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/salesquotes/item/shipmentmethod/ShipmentMethodRequestBuilder.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}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/shipmentMethod", 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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/salesQuotes/{salesQuote%2Did}/shipmentMethod", 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/financials/companies/item/shipmentmethods/ShipmentMethodsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/shipmentmethods/ShipmentMethodsRequestBuilder.java index 02b21526764..f8ef9f4d26b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/shipmentmethods/ShipmentMethodsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/shipmentmethods/ShipmentMethodsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/shipmentMethods", 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/financials/companies/item/shipmentmethods/item/ShipmentMethodItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/shipmentmethods/item/ShipmentMethodItemRequestBuilder.java index 4496d630263..3ef4722eb15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/shipmentmethods/item/ShipmentMethodItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/shipmentmethods/item/ShipmentMethodItemRequestBuilder.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}/financials/companies/{company%2Did}/shipmentMethods/{shipmentMethod%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 ShipmentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/shipmentMethods/{shipmentMethod%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/financials/companies/item/taxareas/TaxAreasRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxareas/TaxAreasRequestBuilder.java index 6fbb729169f..6405bcc808b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxareas/TaxAreasRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxareas/TaxAreasRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TaxArea body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/taxAreas", 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/financials/companies/item/taxareas/item/TaxAreaItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxareas/item/TaxAreaItemRequestBuilder.java index 05fa8b5569d..ac6cd553354 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxareas/item/TaxAreaItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxareas/item/TaxAreaItemRequestBuilder.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}/financials/companies/{company%2Did}/taxAreas/{taxArea%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 TaxArea body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/taxAreas/{taxArea%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/financials/companies/item/taxgroups/TaxGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxgroups/TaxGroupsRequestBuilder.java index ef194545b7e..ee447bf3d74 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxgroups/TaxGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxgroups/TaxGroupsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TaxGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/taxGroups", 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/financials/companies/item/taxgroups/item/TaxGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxgroups/item/TaxGroupItemRequestBuilder.java index d844ccabc47..14075fbfa83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxgroups/item/TaxGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/taxgroups/item/TaxGroupItemRequestBuilder.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}/financials/companies/{company%2Did}/taxGroups/{taxGroup%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 TaxGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/taxGroups/{taxGroup%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/financials/companies/item/unitsofmeasure/UnitsOfMeasureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/unitsofmeasure/UnitsOfMeasureRequestBuilder.java index 6173ac0634f..60b8cd65bab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/unitsofmeasure/UnitsOfMeasureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/unitsofmeasure/UnitsOfMeasureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnitOfMeasure body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/unitsOfMeasure", 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/financials/companies/item/unitsofmeasure/item/UnitOfMeasureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/unitsofmeasure/item/UnitOfMeasureItemRequestBuilder.java index a9511c5a826..1f03d1c575e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/unitsofmeasure/item/UnitOfMeasureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/unitsofmeasure/item/UnitOfMeasureItemRequestBuilder.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}/financials/companies/{company%2Did}/unitsOfMeasure/{unitOfMeasure%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 UnitOfMeasure body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/unitsOfMeasure/{unitOfMeasure%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/financials/companies/item/vendors/VendorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/VendorsRequestBuilder.java index ebbf4bc4968..a425bb927d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/VendorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/VendorsRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Vendor body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/vendors", 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/financials/companies/item/vendors/item/VendorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/VendorItemRequestBuilder.java index 238e5a82637..540efa430e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/VendorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/VendorItemRequestBuilder.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}/financials/companies/{company%2Did}/vendors/{vendor%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 Vendor body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/vendors/{vendor%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/financials/companies/item/vendors/item/currency/CurrencyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/currency/CurrencyRequestBuilder.java index d0407ced670..71470c4468a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/currency/CurrencyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/currency/CurrencyRequestBuilder.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}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/currency", 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 Currency body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/currency", 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/financials/companies/item/vendors/item/paymentmethod/PaymentMethodRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/paymentmethod/PaymentMethodRequestBuilder.java index 6c3c82ca0e1..ba86cba9347 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/paymentmethod/PaymentMethodRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/paymentmethod/PaymentMethodRequestBuilder.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}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/paymentMethod", 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 PaymentMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/paymentMethod", 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/financials/companies/item/vendors/item/paymentterm/PaymentTermRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/paymentterm/PaymentTermRequestBuilder.java index db1ea99a40d..ac8f6504951 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/paymentterm/PaymentTermRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/paymentterm/PaymentTermRequestBuilder.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}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/paymentTerm", 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 PaymentTerm body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/paymentTerm", 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/financials/companies/item/vendors/item/picture/PictureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/picture/PictureRequestBuilder.java index afb730a696c..7b5acc64e99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/picture/PictureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/picture/PictureRequestBuilder.java @@ -145,7 +145,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/picture", 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/financials/companies/item/vendors/item/picture/item/PictureItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/picture/item/PictureItemRequestBuilder.java index f68a74ad5d7..24df9e3e6d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/picture/item/PictureItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/financials/companies/item/vendors/item/picture/item/PictureItemRequestBuilder.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}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/picture/{picture%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 Picture body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/financials/companies/{company%2Did}/vendors/{vendor%2Did}/picture/{picture%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/functions/FunctionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/functions/FunctionsRequestBuilder.java index e656b002f4b..4df64a8060b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/functions/FunctionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/functions/FunctionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AttributeMappingFunctionSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/functions", 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/functions/item/AttributeMappingFunctionSchemaItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/functions/item/AttributeMappingFunctionSchemaItemRequestBuilder.java index 73db83c793d..cfa56606384 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/functions/item/AttributeMappingFunctionSchemaItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/functions/item/AttributeMappingFunctionSchemaItemRequestBuilder.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}/functions/{attributeMappingFunctionSchema%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 AttributeMappingFunctionSchema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/functions/{attributeMappingFunctionSchema%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/governanceresources/GovernanceResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/GovernanceResourcesRequestBuilder.java index 00f9be652f0..6ef6f699af2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/GovernanceResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/GovernanceResourcesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceResources", 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/governanceresources/item/GovernanceResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/GovernanceResourceItemRequestBuilder.java index 419cf0c6ad7..3cf1acee6ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/GovernanceResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/GovernanceResourceItemRequestBuilder.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}/governanceResources/{governanceResource%2Did}", 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 GovernanceResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%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/governanceresources/item/roleassignmentrequests/RoleAssignmentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/RoleAssignmentRequestsRequestBuilder.java index 8a7f0c84fbd..464bacf5360 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/RoleAssignmentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/RoleAssignmentRequestsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignmentRequests", 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/governanceresources/item/roleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.java index 15cc8dabb93..9b9a341269a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}", 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 GovernanceRoleAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignmentRequests/{governanceRoleAssignmentRequest%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/governanceresources/item/roleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.java index fa769c22375..4566ee34791 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/roleDefinition", 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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/roleDefinition", 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/governanceresources/item/roleassignmentrequests/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/subject/SubjectRequestBuilder.java index 9bebcd04dfa..dfeee98730d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignmentrequests/item/subject/SubjectRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/subject", 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 GovernanceSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/subject", 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/governanceresources/item/roleassignments/RoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/RoleAssignmentsRequestBuilder.java index 77ff8bf99d0..b6e31647b73 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/RoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/RoleAssignmentsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignments", 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/governanceresources/item/roleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.java index 5c086113c92..95155cf6b6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleAssignments/{governanceRoleAssignment%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 GovernanceRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignments/{governanceRoleAssignment%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/governanceresources/item/roleassignments/item/roledefinition/RoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/roledefinition/RoleDefinitionRequestBuilder.java index 9cbd945d75e..251eaa697bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/roledefinition/RoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/roledefinition/RoleDefinitionRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleAssignments/{governanceRoleAssignment%2Did}/roleDefinition", 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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignments/{governanceRoleAssignment%2Did}/roleDefinition", 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/governanceresources/item/roleassignments/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/subject/SubjectRequestBuilder.java index 13dcb9df5cb..7814d33a63a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roleassignments/item/subject/SubjectRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleAssignments/{governanceRoleAssignment%2Did}/subject", 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 GovernanceSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleAssignments/{governanceRoleAssignment%2Did}/subject", 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/governanceresources/item/roledefinitions/RoleDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roledefinitions/RoleDefinitionsRequestBuilder.java index 580116d3911..a8c9ba79039 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roledefinitions/RoleDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roledefinitions/RoleDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleDefinitions", 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/governanceresources/item/roledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.java index 5b2197e3d5e..d4c6556e981 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/roledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleDefinitions/{governanceRoleDefinition%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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleDefinitions/{governanceRoleDefinition%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/governanceresources/item/rolesettings/RoleSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/RoleSettingsRequestBuilder.java index 9cb0579f345..0ff051a01ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/RoleSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/RoleSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleSettings", 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/governanceresources/item/rolesettings/item/GovernanceRoleSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/item/GovernanceRoleSettingItemRequestBuilder.java index 2f9dd6f87e3..a22638340a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/item/GovernanceRoleSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/item/GovernanceRoleSettingItemRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleSettings/{governanceRoleSetting%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 GovernanceRoleSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleSettings/{governanceRoleSetting%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/governanceresources/item/rolesettings/item/roledefinition/RoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/item/roledefinition/RoleDefinitionRequestBuilder.java index c61a1281868..03cb6719907 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/item/roledefinition/RoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceresources/item/rolesettings/item/roledefinition/RoleDefinitionRequestBuilder.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}/governanceResources/{governanceResource%2Did}/roleSettings/{governanceRoleSetting%2Did}/roleDefinition", 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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceResources/{governanceResource%2Did}/roleSettings/{governanceRoleSetting%2Did}/roleDefinition", 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/governanceroleassignmentrequests/GovernanceRoleAssignmentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/GovernanceRoleAssignmentRequestsRequestBuilder.java index 7535536442a..b02c0271db6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/GovernanceRoleAssignmentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/GovernanceRoleAssignmentRequestsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceRoleAssignmentRequests", 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/governanceroleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.java index c1140cb2845..9f84f66ca7f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/GovernanceRoleAssignmentRequestItemRequestBuilder.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}/governanceRoleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}", 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 GovernanceRoleAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleAssignmentRequests/{governanceRoleAssignmentRequest%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/governanceroleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.java index 83a69d632e4..05e6920b56d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/roledefinition/RoleDefinitionRequestBuilder.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}/governanceRoleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/roleDefinition", 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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/roleDefinition", 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/governanceroleassignmentrequests/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/subject/SubjectRequestBuilder.java index 8539dedc678..5ab806f457d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignmentrequests/item/subject/SubjectRequestBuilder.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}/governanceRoleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/subject", 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 GovernanceSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleAssignmentRequests/{governanceRoleAssignmentRequest%2Did}/subject", 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/governanceroleassignments/GovernanceRoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/GovernanceRoleAssignmentsRequestBuilder.java index 94a3b0a9072..f4334f818c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/GovernanceRoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/GovernanceRoleAssignmentsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceRoleAssignments", 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/governanceroleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.java index 0e57298a4b2..f57032d67a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/GovernanceRoleAssignmentItemRequestBuilder.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}/governanceRoleAssignments/{governanceRoleAssignment%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 GovernanceRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleAssignments/{governanceRoleAssignment%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/governanceroleassignments/item/roledefinition/RoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/roledefinition/RoleDefinitionRequestBuilder.java index 5ac7ec24324..fd23afde7cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/roledefinition/RoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/roledefinition/RoleDefinitionRequestBuilder.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}/governanceRoleAssignments/{governanceRoleAssignment%2Did}/roleDefinition", 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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleAssignments/{governanceRoleAssignment%2Did}/roleDefinition", 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/governanceroleassignments/item/subject/SubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/subject/SubjectRequestBuilder.java index bed4ae3a60b..ea1c9c2266a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/subject/SubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroleassignments/item/subject/SubjectRequestBuilder.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}/governanceRoleAssignments/{governanceRoleAssignment%2Did}/subject", 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 GovernanceSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleAssignments/{governanceRoleAssignment%2Did}/subject", 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/governanceroledefinitions/GovernanceRoleDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroledefinitions/GovernanceRoleDefinitionsRequestBuilder.java index 7dea1c02dc5..8a5b3e3754a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroledefinitions/GovernanceRoleDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroledefinitions/GovernanceRoleDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceRoleDefinitions", 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/governanceroledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governanceroledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.java index 51b3761f0e2..fbd4bfe329e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governanceroledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governanceroledefinitions/item/GovernanceRoleDefinitionItemRequestBuilder.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}/governanceRoleDefinitions/{governanceRoleDefinition%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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleDefinitions/{governanceRoleDefinition%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/governancerolesettings/GovernanceRoleSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/GovernanceRoleSettingsRequestBuilder.java index ef7982c379c..6fc212706b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/GovernanceRoleSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/GovernanceRoleSettingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceRoleSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceRoleSettings", 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/governancerolesettings/item/GovernanceRoleSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/item/GovernanceRoleSettingItemRequestBuilder.java index 328b5294e17..cb4a5f64a97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/item/GovernanceRoleSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/item/GovernanceRoleSettingItemRequestBuilder.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}/governanceRoleSettings/{governanceRoleSetting%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 GovernanceRoleSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleSettings/{governanceRoleSetting%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/governancerolesettings/item/roledefinition/RoleDefinitionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/item/roledefinition/RoleDefinitionRequestBuilder.java index cfab429355f..b77bcc25b0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/item/roledefinition/RoleDefinitionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governancerolesettings/item/roledefinition/RoleDefinitionRequestBuilder.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}/governanceRoleSettings/{governanceRoleSetting%2Did}/roleDefinition", 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 GovernanceRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceRoleSettings/{governanceRoleSetting%2Did}/roleDefinition", 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/governancesubjects/GovernanceSubjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governancesubjects/GovernanceSubjectsRequestBuilder.java index 457d8294610..f468fe07c9f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governancesubjects/GovernanceSubjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governancesubjects/GovernanceSubjectsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/governanceSubjects", 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/governancesubjects/item/GovernanceSubjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/governancesubjects/item/GovernanceSubjectItemRequestBuilder.java index 4b5f9643a1e..77f706c6288 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/governancesubjects/item/GovernanceSubjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/governancesubjects/item/GovernanceSubjectItemRequestBuilder.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}/governanceSubjects/{governanceSubject%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 GovernanceSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/governanceSubjects/{governanceSubject%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/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java index 930465aeee3..e5bf54fde23 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupLifecyclePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groupLifecyclePolicies", 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/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.java index 365b61f2286..3f7aa610b45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.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}/groupLifecyclePolicies/{groupLifecyclePolicy%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 GroupLifecyclePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groupLifecyclePolicies/{groupLifecyclePolicy%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/groups/GroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/GroupsRequestBuilder.java index a9739cf8839..629f990b7e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/GroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/GroupsRequestBuilder.java @@ -129,23 +129,23 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, GroupCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Group post(@jakarta.annotation.Nonnull final Group body) { return post(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Group post(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -176,7 +176,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @return a {@link RequestInformation} */ @@ -185,7 +185,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -193,7 +193,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups", 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/groups/item/GroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java index 3d497f1e109..71345b84a87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java @@ -504,7 +504,7 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code @@ -515,7 +515,7 @@ public Group patch(@jakarta.annotation.Nonnull final Group body) { return patch(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} @@ -545,7 +545,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}/groups/{group%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -571,7 +571,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @return a {@link RequestInformation} */ @@ -580,7 +580,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -588,7 +588,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%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/groups/item/acceptedsenders/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/acceptedsenders/ref/RefRequestBuilder.java index 9307efd38b2..e610a88f3a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/acceptedsenders/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/acceptedsenders/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}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/acceptedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%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}/groups/{group%2Did}/acceptedSenders/$ref{?%24count,%24filter,%24orderby,%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/groups/item/approleassignments/AppRoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/approleassignments/AppRoleAssignmentsRequestBuilder.java index c4e77c91871..042fd2f470b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/approleassignments/AppRoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/approleassignments/AppRoleAssignmentsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/appRoleAssignments", 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/groups/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java index 6307a824053..582652ed1ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/approleassignments/item/AppRoleAssignmentItemRequestBuilder.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}/groups/{group%2Did}/appRoleAssignments/{appRoleAssignment%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 AppRoleAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/appRoleAssignments/{appRoleAssignment%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/groups/item/calendar/calendarpermissions/CalendarPermissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarpermissions/CalendarPermissionsRequestBuilder.java index cea76a79b6f..1a727cdbc8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarpermissions/CalendarPermissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarpermissions/CalendarPermissionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CalendarPermission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions", 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/groups/item/calendar/calendarpermissions/item/CalendarPermissionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarpermissions/item/CalendarPermissionItemRequestBuilder.java index 9c688d2ec8f..f2fc51355f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarpermissions/item/CalendarPermissionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarpermissions/item/CalendarPermissionItemRequestBuilder.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}/groups/{group%2Did}/calendar/calendarPermissions/{calendarPermission%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 CalendarPermission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/calendar/calendarPermissions/{calendarPermission%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/groups/item/calendar/calendarview/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/attachments/AttachmentsRequestBuilder.java index 4a63afb1727..4a5126820d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%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/groups/item/calendar/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java index e1e9f59502d..617d45cdd45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index e430d7ca9fd..cf6156b46f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index b8d0bf6f754..53f13f39a42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index bd5c1a872d3..f3a39a5ca76 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index f8681bd896f..3070126c7e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java index 80c3628e123..7f48def8790 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index cdab6ba306e..4a857ec432c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java index 9332840593b..5a335c80df1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index e4dce2a9316..da4541d155b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendar/calendarview/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/extensions/ExtensionsRequestBuilder.java index 233108c2cfa..adaf80c2f83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/calendarView/{event%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/groups/item/calendar/calendarview/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/extensions/item/ExtensionItemRequestBuilder.java index dde48b2551d..dc9719cc9f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/calendarView/{event%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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/calendarView/{event%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/groups/item/calendar/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java index f44165b5188..c322d37655c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendar/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index 43bfcaa8d23..e3e52d3bde4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index 5778b1d5ed5..61ccd42b00d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index e1baa6cec52..f34b73051bb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index 291d1e1a8c4..163a618dcdf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index ffed63493f4..0f963f61d66 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendar/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java index 2c71de9ca1d..997b772a790 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendar/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index 1657a3d1c95..5628b831b5a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendar/events/EventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/EventsRequestBuilder.java index 27bf614a667..fa3aaa8a625 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/EventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/EventsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Event body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/events", 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/groups/item/calendar/events/item/EventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/EventItemRequestBuilder.java index 4b2e7f676be..ccb5e0b7777 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/EventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/EventItemRequestBuilder.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}/groups/{group%2Did}/calendar/events/{event%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 Event body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%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/groups/item/calendar/events/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/attachments/AttachmentsRequestBuilder.java index fb6983f5b4c..e5de739dfd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%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/groups/item/calendar/events/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/attachments/item/AttachmentItemRequestBuilder.java index 7363a37f0da..a767d25447f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/events/{event%2Did}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index e96c7ae3cf7..dd9cb74f258 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index f8c6c4f8bf4..a9f31c05805 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index ca94a1f64c0..ef28f2405ea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index 56958fc6aa8..35f66838d75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java index 8bec77565e0..abdb9347fec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index b6efe7f823e..8d95b2e4db2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java index 6a9ed43e48e..5e530a1ac92 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index b52114e8936..07e17cd1acc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendar/events/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/extensions/ExtensionsRequestBuilder.java index 7994de056a7..27e6a00190c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/events/{event%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/groups/item/calendar/events/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/extensions/item/ExtensionItemRequestBuilder.java index fde26547d2c..510c0b15795 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/events/{event%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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/events/{event%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/groups/item/calendar/events/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/attachments/AttachmentsRequestBuilder.java index 791b348731f..b8ce80349eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendar/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index c163d92ba3d..7be7ea86804 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index 214d17a45ec..bf03a498915 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index 7f76b031836..3997b259321 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index c369186845b..b19b271588c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index d22fec83406..f405aa898b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendar/events/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/extensions/ExtensionsRequestBuilder.java index dda7cd0fdc3..499b852c785 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendar/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index 96fac5e6e20..5ae8566c72a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendar/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendarview/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/attachments/AttachmentsRequestBuilder.java index 9ab20d46f20..1c4edca916f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendarView/{event%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/groups/item/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java index 9a2d41f7483..b59fbc4d78c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendarView/{event%2Did}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index c14ad47bbbc..1885504e3ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index f76379fa85e..c95188da364 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index d84b7e87501..ace5106e56b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index 671d1b52678..c0488f5cbfb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java index ceada56e7c4..fcd57b9577b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index be4634d55e8..f06846430c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java index 1cae2ebf555..92cbb49c391 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index 096788c21a7..1c843831cba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendarView/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/calendarview/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/extensions/ExtensionsRequestBuilder.java index d9a6c85df53..375d2949359 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendarView/{event%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/groups/item/calendarview/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/extensions/item/ExtensionItemRequestBuilder.java index 24b79382de5..8b9a182ca5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendarView/{event%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; @@ -161,7 +161,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}/groups/{group%2Did}/calendarView/{event%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/groups/item/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java index ce9f2654a60..e7174d72c87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index 3e1d56430e4..9f3eeb99e8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index 69f8286e97b..d128cdf8702 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index 1dd35fa797e..17fb40d739f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index 72016a5d1ba..6dc83b34211 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index 33d31e60def..77816466287 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java index 2fea133df39..c7980a853b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/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/groups/item/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index 7429b45936e..3a2e96bfa04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/calendarview/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}/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/groups/item/conversations/ConversationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/ConversationsRequestBuilder.java index aeb7289dcfe..e31a4c4f74c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/ConversationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/ConversationsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Conversation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/conversations", 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/groups/item/conversations/item/ConversationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java index 8a1769b2c77..22c2ea73a57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java @@ -46,18 +46,18 @@ public ConversationItemRequestBuilder(@jakarta.annotation.Nonnull final String r super(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24select}", rawUrl); } /** - * Delete a group's conversation object. + * Delete conversation. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a group's conversation object. + * Delete conversation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation get() { return get(null); } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Conversation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Conversation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -90,7 +90,7 @@ public Conversation get(@jakarta.annotation.Nullable final java.util.function.Co return this.requestAdapter.send(requestInfo, errorMapping, Conversation::createFromDiscriminatorValue); } /** - * Delete a group's conversation object. + * Delete conversation. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -98,19 +98,19 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a group's conversation object. + * Delete conversation. * @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}/groups/{group%2Did}/conversations/{conversation%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -118,7 +118,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public ConversationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get a group's conversation object. + * Retrieve the properties and relationships of conversation object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/ThreadsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/ThreadsRequestBuilder.java index c99d5184b53..025489a171b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/ThreadsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/ThreadsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationThread body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads", 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/groups/item/conversations/item/threads/item/ConversationThreadItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/ConversationThreadItemRequestBuilder.java index 91c5c0d8a22..6bb5647a49a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/ConversationThreadItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/ConversationThreadItemRequestBuilder.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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%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 ConversationThread body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%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/groups/item/conversations/item/threads/item/posts/item/PostItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/PostItemRequestBuilder.java index 66a53a7df13..6b7c9839919 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/PostItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/PostItemRequestBuilder.java @@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Post body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/conversations/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java index ebf8f9e1d96..12acd64ac22 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/conversations/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java index 76265b676a7..cf6c6c369d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/ExtensionsRequestBuilder.java index 9d8bf23a9aa..b86880b0dd7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/conversations/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.java index 8b68c5e1147..864457cf9a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%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; @@ -163,7 +163,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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java index e60e3b82f6a..40d77f35fc2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java index 083f40311a7..1007f9112ac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/extensions/ExtensionsRequestBuilder.java index e16b71530bb..bbfb1f1d447 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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/groups/item/conversations/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.java index 3e6a9657ee8..bc61edc5a2d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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; @@ -163,7 +163,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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java index b0ea35a91a1..fc3e6ff8ce6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Mention body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions", 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/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java index 03c62f21970..5eea3ee7c7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions/{mention%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java index 2a7884c126c..cd37164cfd4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Mention body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions", 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/groups/item/conversations/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java index fe18b390287..1edf847229e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions/{mention%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java index 12a3c6a0601..490f94990a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/endpoints/EndpointsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/endpoints/EndpointsRequestBuilder.java index 9b94b6d7bf5..0e34b24b880 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/endpoints/EndpointsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/endpoints/EndpointsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Endpoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/endpoints", 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/groups/item/endpoints/item/EndpointItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/endpoints/item/EndpointItemRequestBuilder.java index a002fed0af9..4e1efaf492c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/endpoints/item/EndpointItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/endpoints/item/EndpointItemRequestBuilder.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}/groups/{group%2Did}/endpoints/{endpoint%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 Endpoint body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/endpoints/{endpoint%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/groups/item/events/EventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/EventsRequestBuilder.java index 947ab7947d7..7d41f8f624c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/EventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/EventsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Event body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/events", 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/groups/item/events/item/EventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/EventItemRequestBuilder.java index fbe1d9f98f1..8e11f2c8a82 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/EventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/EventItemRequestBuilder.java @@ -230,7 +230,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}/groups/{group%2Did}/events/{event%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -273,7 +273,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Event body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/events/{event%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/groups/item/events/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/attachments/AttachmentsRequestBuilder.java index 251d1e6fead..dd91e2abbaf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/events/{event%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/groups/item/events/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/attachments/item/AttachmentItemRequestBuilder.java index 94aea1a357c..1e937d67a70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/events/{event%2Did}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index 7ab3c255372..f9204ebb273 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index 4ee4d819967..4185ce1f38c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index 15673208eb9..e4081bb78a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index 4a7a9a36b33..57ce4ee0cf1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/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/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java index 8683a5b415c..2f86255df5d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index 170debc33ee..09121d139ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java index 40445f34524..a6309086bf0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index e322fc64c74..1a47760f5d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/exceptionoccurrences/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/events/{event%2Did}/exceptionOccurrences/{event%2Did1}/instances/{event%2Did2}/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/groups/item/events/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/extensions/ExtensionsRequestBuilder.java index ad507d89249..549f5e2b4b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/events/{event%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/groups/item/events/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/extensions/item/ExtensionItemRequestBuilder.java index 20144858e38..6a2870271eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/events/{event%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; @@ -161,7 +161,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}/groups/{group%2Did}/events/{event%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/groups/item/events/item/instances/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/attachments/AttachmentsRequestBuilder.java index 99fe6ed542f..dde7bc5f6d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/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/groups/item/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java index 97934285b59..d49c3482263 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java index 4e9995e7dcc..14908bae109 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/AttachmentsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java index ea4cb622230..06265c72362 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/attachments/item/AttachmentItemRequestBuilder.java @@ -95,7 +95,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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java index a1cd088f97d..625aab23d46 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java index 1a5ff9d95d7..f97e86e44fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/exceptionoccurrences/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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; @@ -161,7 +161,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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/exceptionOccurrences/{event%2Did2}/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/groups/item/events/item/instances/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/extensions/ExtensionsRequestBuilder.java index f9a2e5c1370..a01bdbb56cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/extensions/ExtensionsRequestBuilder.java @@ -146,7 +146,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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/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/groups/item/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java index 265aed255d9..35b40e8f687 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/events/item/instances/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/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; @@ -161,7 +161,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}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}/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/groups/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/extensions/ExtensionsRequestBuilder.java index 2ef4bb2f9bf..7fd713f7c8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/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}/groups/{group%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/groups/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/extensions/item/ExtensionItemRequestBuilder.java index db8875607eb..1b759346f53 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/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}/groups/{group%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}/groups/{group%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/groups/item/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java index a3b60806ea9..fa02790eb94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/grouplifecyclepolicies/GroupLifecyclePoliciesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GroupLifecyclePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/groupLifecyclePolicies", 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/groups/item/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.java index ccbec752076..3d477631caa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/grouplifecyclepolicies/item/GroupLifecyclePolicyItemRequestBuilder.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}/groups/{group%2Did}/groupLifecyclePolicies/{groupLifecyclePolicy%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 GroupLifecyclePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/groupLifecyclePolicies/{groupLifecyclePolicy%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/groups/item/members/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/members/ref/RefRequestBuilder.java index 4e30eabb77c..7bfc88866c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/members/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/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}/groups/{group%2Did}/members/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/groups/{group%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}/groups/{group%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/groups/item/onenote/OnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/OnenoteRequestBuilder.java index d8efde49113..7e87bc353f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/OnenoteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/OnenoteRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/onenote", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Onenote body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote", 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/groups/item/onenote/notebooks/NotebooksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/NotebooksRequestBuilder.java index 15507e182f2..f5e756bff32 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/NotebooksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/NotebooksRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Notebook body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/notebooks", 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/groups/item/onenote/notebooks/item/NotebookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/NotebookItemRequestBuilder.java index 83f9966de5c..acbc3f0106d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/NotebookItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/NotebookItemRequestBuilder.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}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}", 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 Notebook body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%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/groups/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java index 9a28711e1fe..bfe00b09a99 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups", 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/groups/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.java index f46863c7e49..1b756b52136 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.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}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%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 SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%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/groups/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java index ab15cc31e74..4688ce0fd87 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections", 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/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java index 691bc9a2a8b..d48d01d64ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.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}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}", 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 OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%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/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java index 597c967acd7..b3d4f560e0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages", 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/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java index 20e3a0a25a2..7c29a05c444 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java index 3db8c347e85..7fa7e56e472 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sections", 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/groups/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.java index 8672ff4e873..b62de54b420 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.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}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}", 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 OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%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/groups/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java index c43a8243a73..a7642dbd68b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages", 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/groups/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java index 9be228ad1ae..7de47df455d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/onenote/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/operations/OperationsRequestBuilder.java index da52987f3ee..62a7395e28a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/operations/OperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/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/groups/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.java index c3089aa64f2..cf7ed5e50b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.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}/groups/{group%2Did}/onenote/operations/{onenoteOperation%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 OnenoteOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/operations/{onenoteOperation%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/groups/item/onenote/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/pages/PagesRequestBuilder.java index b466e8b2299..af044476a8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/pages", 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/groups/item/onenote/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/pages/item/OnenotePageItemRequestBuilder.java index 64c8c6ba156..c0c9f557dcc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/pages/item/OnenotePageItemRequestBuilder.java @@ -172,7 +172,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}/groups/{group%2Did}/onenote/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -215,7 +215,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/pages/{onenotePage%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/groups/item/onenote/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/resources/ResourcesRequestBuilder.java index 85253c89f2d..ac40c9fa801 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/resources/ResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/resources", 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/groups/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.java index 85151c3d7ed..22b4014ed8f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.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}/groups/{group%2Did}/onenote/resources/{onenoteResource%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 OnenoteResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/resources/{onenoteResource%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/groups/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java index c3efc6ba5b6..aa703aa47fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/sectionGroups", 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/groups/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.java index 12201864fd1..0e2e730ffdc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.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}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%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 SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%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/groups/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java index 11ddbef7d71..8851761d528 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections", 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/groups/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java index ff07b5cca83..245130afeeb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.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}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}", 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 OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%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/groups/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java index 9b8d9c1c9a4..ccd116256b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages", 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/groups/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java index c2797e5e650..7fdfeac02d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/onenote/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/SectionsRequestBuilder.java index d5543ba0e27..30746b05de3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/SectionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/sections", 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/groups/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java index e5010822878..c2fea0d7d4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java @@ -163,7 +163,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}/groups/{group%2Did}/onenote/sections/{onenoteSection%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/sections/{onenoteSection%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/groups/item/onenote/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/pages/PagesRequestBuilder.java index 47bcd529713..483fc686b7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/onenote/sections/{onenoteSection%2Did}/pages", 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/groups/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java index 93d4f302a1c..362333b9391 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/owners/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/owners/ref/RefRequestBuilder.java index fe23b0c9242..b00c8e44bcf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/owners/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/owners/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}/groups/{group%2Did}/owners/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/owners/$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}/groups/{group%2Did}/owners/$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/groups/item/permissiongrants/PermissionGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/permissiongrants/PermissionGrantsRequestBuilder.java index 67b23fb7c4b..2d2d9ad19dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/permissiongrants/PermissionGrantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/permissiongrants/PermissionGrantsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResourceSpecificPermissionGrant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/permissionGrants", 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/groups/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java index d5c73cb82a6..1b6b432ae70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.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}/groups/{group%2Did}/permissionGrants/{resourceSpecificPermissionGrant%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 ResourceSpecificPermissionGrant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/permissionGrants/{resourceSpecificPermissionGrant%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/groups/item/photo/PhotoRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/photo/PhotoRequestBuilder.java index b4f1d40a589..353bddef1cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/photo/PhotoRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/photo/PhotoRequestBuilder.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}/groups/{group%2Did}/photo", 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 ProfilePhoto body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/photo", 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/groups/item/planner/PlannerRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/PlannerRequestBuilder.java index ee6413e407e..28fbdf18f7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/PlannerRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/PlannerRequestBuilder.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}/groups/{group%2Did}/planner", 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 PlannerGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner", 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/groups/item/planner/plans/PlansRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/PlansRequestBuilder.java index 0a971cf985f..517f93bed57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/PlansRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/PlansRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerPlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/planner/plans", 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/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java index 6ed852b3f27..df6a5076e30 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/PlannerPlanItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PlannerPlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%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/groups/item/planner/plans/item/buckets/BucketsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/BucketsRequestBuilder.java index 52645e9b2bd..c861164971f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/BucketsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/BucketsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerBucket body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets", 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/groups/item/planner/plans/item/buckets/item/PlannerBucketItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/PlannerBucketItemRequestBuilder.java index 576fc1076f4..3c3d92ab86a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/PlannerBucketItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/PlannerBucketItemRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%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 PlannerBucket body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%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/groups/item/planner/plans/item/buckets/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/TasksRequestBuilder.java index b0c2781248a..06cd920937c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/TasksRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks", 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/groups/item/planner/plans/item/buckets/item/tasks/item/PlannerTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/PlannerTaskItemRequestBuilder.java index 63ea8b728b1..8dd10897378 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/PlannerTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/PlannerTaskItemRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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 PlannerTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%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/groups/item/planner/plans/item/buckets/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java index 603876bdb4d..6883ee19b96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat", 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 PlannerAssignedToTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat", 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/groups/item/planner/plans/item/buckets/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java index 52d8db62cbd..e55bfa6fd3d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat", 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 PlannerBucketTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat", 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/groups/item/planner/plans/item/buckets/item/tasks/item/details/DetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/details/DetailsRequestBuilder.java index 1cf6dafe0ac..b326dd097c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/details/DetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/details/DetailsRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/details", 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 PlannerTaskDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/details", 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/groups/item/planner/plans/item/buckets/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java index 949f2419889..36c84121993 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/buckets/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat", 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 PlannerProgressTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/buckets/{plannerBucket%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat", 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/groups/item/planner/plans/item/details/DetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/details/DetailsRequestBuilder.java index 3f459c9f558..e71b2e27342 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/details/DetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/details/DetailsRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/details", 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 PlannerPlanDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/details", 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/groups/item/planner/plans/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/TasksRequestBuilder.java index 4cac0aafe0f..5ce964a19ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/TasksRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PlannerTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks", 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/groups/item/planner/plans/item/tasks/item/PlannerTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/PlannerTaskItemRequestBuilder.java index b6fafd80bdd..dfa6b6718f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/PlannerTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/PlannerTaskItemRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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 PlannerTask body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%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/groups/item/planner/plans/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java index caab80a9e03..59d7618e98b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/assignedtotaskboardformat/AssignedToTaskBoardFormatRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat", 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 PlannerAssignedToTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/assignedToTaskBoardFormat", 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/groups/item/planner/plans/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java index 3c87b1f2df7..f62e4ec77d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/buckettaskboardformat/BucketTaskBoardFormatRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat", 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 PlannerBucketTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/bucketTaskBoardFormat", 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/groups/item/planner/plans/item/tasks/item/details/DetailsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/details/DetailsRequestBuilder.java index 0d799302af6..401e519d059 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/details/DetailsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/details/DetailsRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/details", 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 PlannerTaskDetails body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/details", 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/groups/item/planner/plans/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java index 3ca8d7a5368..6ee8d2b37c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/planner/plans/item/tasks/item/progresstaskboardformat/ProgressTaskBoardFormatRequestBuilder.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}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat", 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 PlannerProgressTaskBoardTaskFormat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/planner/plans/{plannerPlan%2Did}/tasks/{plannerTask%2Did}/progressTaskBoardFormat", 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/groups/item/rejectedsenders/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/rejectedsenders/ref/RefRequestBuilder.java index 0c692392587..c3b4445f452 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/rejectedsenders/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/rejectedsenders/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}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/rejectedSenders/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%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}/groups/{group%2Did}/rejectedSenders/$ref{?%24count,%24filter,%24orderby,%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/groups/item/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/settings/SettingsRequestBuilder.java index 266061d065f..21d0cf5070c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/settings/SettingsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DirectorySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/settings", 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/groups/item/settings/item/DirectorySettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/settings/item/DirectorySettingItemRequestBuilder.java index a12384bfc8a..74b6eeb765d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/settings/item/DirectorySettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/settings/item/DirectorySettingItemRequestBuilder.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}/groups/{group%2Did}/settings/{directorySetting%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 DirectorySetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/settings/{directorySetting%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/groups/item/sites/item/SiteItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/SiteItemRequestBuilder.java index f83fb7a6ae0..a420c0f1063 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/SiteItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/SiteItemRequestBuilder.java @@ -320,7 +320,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Site body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%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/groups/item/sites/item/analytics/AnalyticsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/AnalyticsRequestBuilder.java index ca73ab044e7..c9c20682774 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/AnalyticsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/AnalyticsRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/analytics", 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 ItemAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/analytics", 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/groups/item/sites/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java index 84bc8952595..227ab66c64d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/ItemActivityStatsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivityStat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/analytics/itemActivityStats", 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/groups/item/sites/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.java index 391f1bf56bf..06e3fc7eb50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/ItemActivityStatItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/analytics/itemActivityStats/{itemActivityStat%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 ItemActivityStat body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/analytics/itemActivityStats/{itemActivityStat%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/groups/item/sites/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java index 499bfa65f28..6455cd44630 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/ActivitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities", 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/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.java index 5cd26e95e47..d4bd21dabf5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/ItemActivityItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%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 ItemActivity body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%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/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java index 825563486b2..71e7b3e22ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/analytics/itemactivitystats/item/activities/item/driveitem/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/analytics/itemActivityStats/{itemActivityStat%2Did}/activities/{itemActivity%2Did}/driveItem/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/columns/ColumnsRequestBuilder.java index 1bcb18579c1..385de1021be 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/columns/ColumnsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/columns", 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/groups/item/sites/item/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/columns/item/ColumnDefinitionItemRequestBuilder.java index d1d7a6f5635..32a0b8dcb7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/columns/item/ColumnDefinitionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/columns/{columnDefinition%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 ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/columns/{columnDefinition%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/groups/item/sites/item/contenttypes/ContentTypesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/ContentTypesRequestBuilder.java index e195a51e569..96aba18b208 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/ContentTypesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/ContentTypesRequestBuilder.java @@ -175,7 +175,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/contentTypes", 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/groups/item/sites/item/contenttypes/item/ContentTypeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/ContentTypeItemRequestBuilder.java index 34b3cb02fad..fa0878cf47d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/ContentTypeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/ContentTypeItemRequestBuilder.java @@ -212,7 +212,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}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -255,7 +255,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%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/groups/item/sites/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java index 43297b211a8..f6d41426e7b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnLink body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}/columnLinks", 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/groups/item/sites/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java index aacc30142d9..a4013f2f1b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}/columnLinks/{columnLink%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 ColumnLink body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}/columnLinks/{columnLink%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/groups/item/sites/item/contenttypes/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columns/ColumnsRequestBuilder.java index e193880cc77..f7b7181a792 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columns/ColumnsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}/columns", 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/groups/item/sites/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java index f86de4cca65..b31d339987b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}/columns/{columnDefinition%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 ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/contentTypes/{contentType%2Did}/columns/{columnDefinition%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/groups/item/sites/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 45409b8cd5e..4c0ad841379 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/createdByUser/mailboxSettings", 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/groups/item/sites/item/getbypathwithpath/analytics/AnalyticsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/analytics/AnalyticsRequestBuilder.java index 3ae8d119477..010ea660f59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/analytics/AnalyticsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/analytics/AnalyticsRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/analytics", 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 ItemAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/analytics", 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/groups/item/sites/item/getbypathwithpath/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/columns/ColumnsRequestBuilder.java index 98dd07cabd3..14036949d2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/columns/ColumnsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/columns", 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/groups/item/sites/item/getbypathwithpath/contenttypes/ContentTypesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/contenttypes/ContentTypesRequestBuilder.java index 3ae9ec21693..3c9555d228a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/contenttypes/ContentTypesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/contenttypes/ContentTypesRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/contentTypes", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/analytics/AnalyticsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/analytics/AnalyticsRequestBuilder.java index 15d96294f5e..4035667a66f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/analytics/AnalyticsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/analytics/AnalyticsRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/analytics", 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 ItemAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/analytics", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/columns/ColumnsRequestBuilder.java index 630c4a5771f..763485ee343 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/columns/ColumnsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/columns", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/contenttypes/ContentTypesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/contenttypes/ContentTypesRequestBuilder.java index fb232c98eac..852b96da218 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/contenttypes/ContentTypesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/contenttypes/ContentTypesRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/contentTypes", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/informationprotection/InformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/informationprotection/InformationProtectionRequestBuilder.java index b3b5eed86ed..63de0bca839 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/informationprotection/InformationProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/informationprotection/InformationProtectionRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/informationProtection", 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 InformationProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/informationProtection", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/lists/ListsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/lists/ListsRequestBuilder.java index 7e82d392821..2724ce03c2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/lists/ListsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/lists/ListsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final List body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/lists", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/onenote/OnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/onenote/OnenoteRequestBuilder.java index 5555a3b8c42..210b87abb98 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/onenote/OnenoteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/onenote/OnenoteRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/onenote", 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 Onenote body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/onenote", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/operations/OperationsRequestBuilder.java index bb84a93a323..ed80dcf46bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/operations/OperationsRequestBuilder.java @@ -124,7 +124,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/pages/PagesRequestBuilder.java index 062170761ad..8193e90d77d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/pages/PagesRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BaseSitePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/pages", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/permissions/PermissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/permissions/PermissionsRequestBuilder.java index 5c88e0dfe0d..60cd76b7c90 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/permissions/PermissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/permissions/PermissionsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Permission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/permissions", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/recyclebin/RecycleBinRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/recyclebin/RecycleBinRequestBuilder.java index 786882b7d85..d7b28ad848f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/recyclebin/RecycleBinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/recyclebin/RecycleBinRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/recycleBin", 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 RecycleBin body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/recycleBin", 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/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/termstore/TermStoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/termstore/TermStoreRequestBuilder.java index cbc98f7a514..ceefa405ef7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/termstore/TermStoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/getbypathwithpath1/termstore/TermStoreRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/termStore", 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 Store body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/getByPath(path='{path1}')/termStore", 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/groups/item/sites/item/getbypathwithpath/informationprotection/InformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/informationprotection/InformationProtectionRequestBuilder.java index 7f7e5e728d9..a3605a2539b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/informationprotection/InformationProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/informationprotection/InformationProtectionRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/informationProtection", 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 InformationProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/informationProtection", 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/groups/item/sites/item/getbypathwithpath/lists/ListsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/lists/ListsRequestBuilder.java index ac794a0832a..87f9b30bc50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/lists/ListsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/lists/ListsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final List body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/lists", 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/groups/item/sites/item/getbypathwithpath/onenote/OnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/onenote/OnenoteRequestBuilder.java index 76f87fb562c..273cfcf7188 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/onenote/OnenoteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/onenote/OnenoteRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/onenote", 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 Onenote body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/onenote", 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/groups/item/sites/item/getbypathwithpath/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/operations/OperationsRequestBuilder.java index 7bd7ecb4fef..ba949d1a08e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/operations/OperationsRequestBuilder.java @@ -124,7 +124,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/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/groups/item/sites/item/getbypathwithpath/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/pages/PagesRequestBuilder.java index 012ff16c76b..8319f35f781 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/pages/PagesRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BaseSitePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/pages", 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/groups/item/sites/item/getbypathwithpath/permissions/PermissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/permissions/PermissionsRequestBuilder.java index 6edb42e6f05..35e74cc5722 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/permissions/PermissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/permissions/PermissionsRequestBuilder.java @@ -126,7 +126,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Permission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/permissions", 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/groups/item/sites/item/getbypathwithpath/recyclebin/RecycleBinRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/recyclebin/RecycleBinRequestBuilder.java index 136745afcfe..09bb2b0e332 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/recyclebin/RecycleBinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/recyclebin/RecycleBinRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/recycleBin", 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 RecycleBin body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/recycleBin", 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/groups/item/sites/item/getbypathwithpath/termstore/TermStoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/termstore/TermStoreRequestBuilder.java index affb77220b1..d1a9a1cd807 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/termstore/TermStoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/getbypathwithpath/termstore/TermStoreRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/termStore", 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 Store body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/getByPath(path='{path}')/termStore", 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/groups/item/sites/item/informationprotection/InformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/InformationProtectionRequestBuilder.java index 5eb70e836e6..3785650bf19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/InformationProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/InformationProtectionRequestBuilder.java @@ -206,7 +206,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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -249,7 +249,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InformationProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection", 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/groups/item/sites/item/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java index 60f69e59a4a..072c3bdf58c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DataLossPreventionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/dataLossPreventionPolicies", 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/groups/item/sites/item/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.java index fd31292b6c2..7eb588cd69e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/dataLossPreventionPolicies/{dataLossPreventionPolicy%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 DataLossPreventionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/dataLossPreventionPolicies/{dataLossPreventionPolicy%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/groups/item/sites/item/informationprotection/policy/PolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/PolicyRequestBuilder.java index a781c753478..cba88e4ee2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/PolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/PolicyRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/policy", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InformationProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/policy", 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/groups/item/sites/item/informationprotection/policy/labels/LabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/labels/LabelsRequestBuilder.java index 534705dfe37..cd97b1d3a52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/labels/LabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/labels/LabelsRequestBuilder.java @@ -224,7 +224,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final InformationProtectionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/policy/labels", 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/groups/item/sites/item/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java index 891afbd24a9..15874e67939 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java @@ -142,7 +142,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/policy/labels/{informationProtectionLabel%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InformationProtectionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/policy/labels/{informationProtectionLabel%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/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java index f7f5a16a43b..6baa72f8dcc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels", 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/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index 24b88c28d73..03136e034ec 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%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 SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%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/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index a051d68b352..499e95e4161 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels", 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/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index 73dc3ac36dc..2c168967df6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}", 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 SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.java index 4e159e9a3bd..d28e88ce988 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityPolicySettings", 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 SensitivityPolicySettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/sensitivityPolicySettings", 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/groups/item/sites/item/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java index 82ad013ce05..d1e18b616c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ThreatAssessmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/threatAssessmentRequests", 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/groups/item/sites/item/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.java index 27fde27bf94..fc121623f69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%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 ThreatAssessmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%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/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java index 3968c959b25..1cae73a343d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ThreatAssessmentResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%2Did}/results", 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/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.java index b2d1b21cc57..9f12bc1050a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%2Did}/results/{threatAssessmentResult%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 ThreatAssessmentResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%2Did}/results/{threatAssessmentResult%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/groups/item/sites/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 734446f8d58..2bba67415fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lastModifiedByUser/mailboxSettings", 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/groups/item/sites/item/lists/ListsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/ListsRequestBuilder.java index 3e74ebe9555..3c63c816f48 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/ListsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/ListsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final List body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists", 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/groups/item/sites/item/lists/item/ListItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/ListItemRequestBuilder.java index 5535237ca43..e6071e96fed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/ListItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/ListItemRequestBuilder.java @@ -199,7 +199,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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -242,7 +242,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final List body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%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/groups/item/sites/item/lists/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/activities/ActivitiesRequestBuilder.java index a10f35bc16a..67de801d416 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/activities/ActivitiesRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/activities", 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/groups/item/sites/item/lists/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/columns/ColumnsRequestBuilder.java index 5ce2597dd86..18ce20a4994 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/columns/ColumnsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/columns", 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/groups/item/sites/item/lists/item/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/columns/item/ColumnDefinitionItemRequestBuilder.java index f67c5512b71..7656d2d1172 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/columns/item/ColumnDefinitionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/columns/{columnDefinition%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 ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/columns/{columnDefinition%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/groups/item/sites/item/lists/item/contenttypes/ContentTypesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/ContentTypesRequestBuilder.java index b6592a4ddd0..2712b0dfb89 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/ContentTypesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/ContentTypesRequestBuilder.java @@ -173,7 +173,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes", 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/groups/item/sites/item/lists/item/contenttypes/item/ContentTypeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/ContentTypeItemRequestBuilder.java index 78f3266236d..af6c2a273f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/ContentTypeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/ContentTypeItemRequestBuilder.java @@ -206,7 +206,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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -249,7 +249,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ContentType body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%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/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java index 6b3ada5e569..91ab279b01e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/ColumnLinksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnLink body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/columnLinks", 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/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java index 5672c164479..ffb8ad7c309 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columnlinks/item/ColumnLinkItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/columnLinks/{columnLink%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 ColumnLink body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/columnLinks/{columnLink%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/groups/item/sites/item/lists/item/contenttypes/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columns/ColumnsRequestBuilder.java index e772d824d6a..80bbea99f40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columns/ColumnsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/columns", 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/groups/item/sites/item/lists/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java index 23b72342dec..d412379252f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/contenttypes/item/columns/item/ColumnDefinitionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/columns/{columnDefinition%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 ColumnDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/contentTypes/{contentType%2Did}/columns/{columnDefinition%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/groups/item/sites/item/lists/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 8583b625e2f..cb9206c467a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/createdByUser/mailboxSettings", 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/groups/item/sites/item/lists/item/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/ItemsRequestBuilder.java index 147adb7dda0..6ef08ef4e1c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/ItemsRequestBuilder.java @@ -159,7 +159,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ListItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items", 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/groups/item/sites/item/lists/item/items/item/ListItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/ListItemItemRequestBuilder.java index 93710f8f15c..263a7c31a3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/ListItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/ListItemItemRequestBuilder.java @@ -216,7 +216,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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -259,7 +259,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ListItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%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/groups/item/sites/item/lists/item/items/item/activities/ActivitiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/ActivitiesRequestBuilder.java index ab9bfe53c15..733f93c851c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/ActivitiesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/ActivitiesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/activities", 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/groups/item/sites/item/lists/item/items/item/activities/item/ItemActivityOLDItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/ItemActivityOLDItemRequestBuilder.java index b61cc64897b..3ca1fd09491 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/ItemActivityOLDItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/ItemActivityOLDItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/activities/{itemActivityOLD%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 ItemActivityOLD body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/activities/{itemActivityOLD%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/groups/item/sites/item/lists/item/items/item/activities/item/driveitem/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/driveitem/content/ContentRequestBuilder.java index 88abd0d02b7..890e16b8a1a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/driveitem/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/activities/item/driveitem/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/activities/{itemActivityOLD%2Did}/driveItem/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 33ad40d8059..e474442c1d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/createdByUser/mailboxSettings", 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/groups/item/sites/item/lists/item/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java index a9ac3cb597f..26a664626a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/DocumentSetVersionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DocumentSetVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/documentSetVersions", 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/groups/item/sites/item/lists/item/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java index 5709c8f3a64..ad93789aa63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/item/DocumentSetVersionItemRequestBuilder.java @@ -138,7 +138,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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final DocumentSetVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%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/groups/item/sites/item/lists/item/items/item/documentsetversions/item/fields/FieldsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/item/fields/FieldsRequestBuilder.java index 05e863305a8..603d82ef44b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/item/fields/FieldsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/documentsetversions/item/fields/FieldsRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}/fields", 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 FieldValueSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/documentSetVersions/{documentSetVersion%2Did}/fields", 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/groups/item/sites/item/lists/item/items/item/driveitem/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/driveitem/content/ContentRequestBuilder.java index 580c54b1e5b..ce390c4eb07 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/driveitem/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/driveitem/content/ContentRequestBuilder.java @@ -122,7 +122,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/driveItem/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/fields/FieldsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/fields/FieldsRequestBuilder.java index 4b87438e2ea..6480e527066 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/fields/FieldsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/fields/FieldsRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/fields", 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 FieldValueSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/fields", 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/groups/item/sites/item/lists/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 8f8027f40a6..7f0f768cdfc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/lastModifiedByUser/mailboxSettings", 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/groups/item/sites/item/lists/item/items/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/VersionsRequestBuilder.java index 6ee20100c17..6378921ef64 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/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 ListItemVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%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/groups/item/sites/item/lists/item/items/item/versions/item/ListItemVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/ListItemVersionItemRequestBuilder.java index d37b6733586..445227bd821 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/ListItemVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/ListItemVersionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/versions/{listItemVersion%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 ListItemVersion body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/versions/{listItemVersion%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/groups/item/sites/item/lists/item/items/item/versions/item/fields/FieldsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/fields/FieldsRequestBuilder.java index bce0cb48e39..a14ab98021d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/fields/FieldsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/items/item/versions/item/fields/FieldsRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/versions/{listItemVersion%2Did}/fields", 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 FieldValueSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/items/{listItem%2Did}/versions/{listItemVersion%2Did}/fields", 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/groups/item/sites/item/lists/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index fa1688bfd20..a5251c78d3a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/lastModifiedByUser/mailboxSettings", 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/groups/item/sites/item/lists/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/operations/OperationsRequestBuilder.java index f3c62059731..aeded0a8d19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/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 RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%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/groups/item/sites/item/lists/item/operations/item/RichLongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/operations/item/RichLongRunningOperationItemRequestBuilder.java index 7f4676aaeb1..574e01fced0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/operations/item/RichLongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/operations/item/RichLongRunningOperationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/operations/{richLongRunningOperation%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 RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/operations/{richLongRunningOperation%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/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java index 23ad75a2f08..60c0e8a4a69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Subscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/subscriptions", 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/groups/item/sites/item/lists/item/subscriptions/item/SubscriptionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/item/SubscriptionItemRequestBuilder.java index 14cbad79991..5e9d860be9d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/item/SubscriptionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/lists/item/subscriptions/item/SubscriptionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/{subscription%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 Subscription body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/{subscription%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/groups/item/sites/item/onenote/OnenoteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/OnenoteRequestBuilder.java index 067962edd52..894949b2dc1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/OnenoteRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/OnenoteRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/sites/{site%2Did}/onenote", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Onenote body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote", 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/groups/item/sites/item/onenote/notebooks/NotebooksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/NotebooksRequestBuilder.java index 7f8d0676d47..cf77d139413 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/NotebooksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/NotebooksRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Notebook body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks", 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/groups/item/sites/item/onenote/notebooks/item/NotebookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/NotebookItemRequestBuilder.java index fabba595e91..ce6086760ff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/NotebookItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/NotebookItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}", 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 Notebook body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%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/groups/item/sites/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java index bbcc4517d9f..a9b80e66987 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/SectionGroupsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups", 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/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.java index b1e7091a7a8..da074370291 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/SectionGroupItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%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 SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%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/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java index f2fd16aae5a..5af91f3b51c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/SectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections", 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/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java index d2f2b600d1e..a6e3f63aabb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}", 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 OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%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/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java index 5cadeca5616..ab5075087af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages", 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/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java index a7d34882797..a4d78d13afe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/sites/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java index 67c97eacb0d..20782591a6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/SectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sections", 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/groups/item/sites/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.java index 6bf44544fee..905ccc2ceb3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/OnenoteSectionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}", 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 OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%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/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java index c49c4ef3097..02189d45b2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages", 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/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java index 3e6da7a00aa..86af88888b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/notebooks/{notebook%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/sites/item/onenote/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/operations/OperationsRequestBuilder.java index 448575a7317..0e545c5e302 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/operations/OperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/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/groups/item/sites/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.java index e2df74f289e..000bb0b0c2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/operations/item/OnenoteOperationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/operations/{onenoteOperation%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 OnenoteOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/operations/{onenoteOperation%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/groups/item/sites/item/onenote/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/pages/PagesRequestBuilder.java index 306d3347194..fead457c822 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/pages", 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/groups/item/sites/item/onenote/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/pages/item/OnenotePageItemRequestBuilder.java index 573a92111f2..12274bb1fc6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/pages/item/OnenotePageItemRequestBuilder.java @@ -172,7 +172,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}/groups/{group%2Did}/sites/{site%2Did}/onenote/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -215,7 +215,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/pages/{onenotePage%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/groups/item/sites/item/onenote/resources/ResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/resources/ResourcesRequestBuilder.java index 7264118ccb2..553d7d23ff6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/resources/ResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/resources/ResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/resources", 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/groups/item/sites/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.java index bb7e3dfdba4..8b0fc08695f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/resources/item/OnenoteResourceItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/resources/{onenoteResource%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 OnenoteResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/resources/{onenoteResource%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/groups/item/sites/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java index d914a02ad0a..97357eafeea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/SectionGroupsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups", 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/groups/item/sites/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.java index e30ce0865ed..e75586abad0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/SectionGroupItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%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 SectionGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%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/groups/item/sites/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java index 92ac4fc0c3e..172ebfaf7db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/SectionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections", 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/groups/item/sites/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java index 10937003071..98000b6a33b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/OnenoteSectionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}", 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 OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%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/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java index c74ddb3ff64..70819b67927 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages", 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/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java index 42dc9752d43..f280f0703b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sectiongroups/item/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sectionGroups/{sectionGroup%2Did}/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/sites/item/onenote/sections/SectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/SectionsRequestBuilder.java index f8bbed54689..026a6c4a422 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/SectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/SectionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sections", 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/groups/item/sites/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java index e642312587d..4a1476821f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/OnenoteSectionItemRequestBuilder.java @@ -163,7 +163,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}/groups/{group%2Did}/sites/{site%2Did}/onenote/sections/{onenoteSection%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenoteSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sections/{onenoteSection%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/groups/item/sites/item/onenote/sections/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/pages/PagesRequestBuilder.java index 66a54ea3d40..040c48bcce0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/pages/PagesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sections/{onenoteSection%2Did}/pages", 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/groups/item/sites/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java index 782f8c3e334..2f1519a2680 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/onenote/sections/item/pages/item/OnenotePageItemRequestBuilder.java @@ -170,7 +170,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}/groups/{group%2Did}/sites/{site%2Did}/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnenotePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/onenote/sections/{onenoteSection%2Did}/pages/{onenotePage%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/groups/item/sites/item/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/operations/OperationsRequestBuilder.java index 4e07e71dd61..9a7712fe25f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/operations/OperationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%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/groups/item/sites/item/operations/item/RichLongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/operations/item/RichLongRunningOperationItemRequestBuilder.java index fa7c8b05a17..cecbd8052a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/operations/item/RichLongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/operations/item/RichLongRunningOperationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/operations/{richLongRunningOperation%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 RichLongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/operations/{richLongRunningOperation%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/groups/item/sites/item/pages/PagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/PagesRequestBuilder.java index fbcd7fabd97..05ec7297cf9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/PagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/PagesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final BaseSitePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages", 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/groups/item/sites/item/pages/item/BaseSitePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/BaseSitePageItemRequestBuilder.java index 45e428644be..70f1b24cf6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/BaseSitePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/BaseSitePageItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}", 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 BaseSitePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%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/groups/item/sites/item/pages/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index f1e3e208639..84685cdc289 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/createdByUser/mailboxSettings", 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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/CanvasLayoutRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/CanvasLayoutRequestBuilder.java index 020a121dc64..9480ba1aae0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/CanvasLayoutRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/CanvasLayoutRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout", 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 CanvasLayout body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout", 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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/HorizontalSectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/HorizontalSectionsRequestBuilder.java index 5c7eb43985a..b6f2ab77c86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/HorizontalSectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/HorizontalSectionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HorizontalSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections", 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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/HorizontalSectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/HorizontalSectionItemRequestBuilder.java index 3c5994a231f..4cfabcfc248 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/HorizontalSectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/HorizontalSectionItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%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 HorizontalSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/ColumnsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/ColumnsRequestBuilder.java index 34070668182..6cc29c1a66d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/ColumnsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/ColumnsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final HorizontalSectionColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns", 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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/HorizontalSectionColumnItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/HorizontalSectionColumnItemRequestBuilder.java index 0ac18aba8bb..0f940d5343a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/HorizontalSectionColumnItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/HorizontalSectionColumnItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%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 HorizontalSectionColumn body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/WebpartsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/WebpartsRequestBuilder.java index 9aad8fcaedc..d9e47b4c760 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/WebpartsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/WebpartsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WebPart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts", 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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/item/WebPartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/item/WebPartItemRequestBuilder.java index 851ad5b71a1..f855faf6646 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/item/WebPartItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/horizontalsections/item/columns/item/webparts/item/WebPartItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%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 WebPart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/horizontalSections/{horizontalSection%2Did}/columns/{horizontalSectionColumn%2Did}/webparts/{webPart%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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/VerticalSectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/VerticalSectionRequestBuilder.java index a45fd81b8a8..06ae66e4d4a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/VerticalSectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/VerticalSectionRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection", 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 VerticalSection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection", 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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/WebpartsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/WebpartsRequestBuilder.java index a28fee37712..932fc6d8d75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/WebpartsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/WebpartsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WebPart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts", 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/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/item/WebPartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/item/WebPartItemRequestBuilder.java index aa627c3f6d4..ead67d41f7e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/item/WebPartItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/canvaslayout/verticalsection/webparts/item/WebPartItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/{webPart%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 WebPart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/canvasLayout/verticalSection/webparts/{webPart%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/groups/item/sites/item/pages/item/graphsitepage/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 592fe829101..98af2d1138d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/createdByUser/mailboxSettings", 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/groups/item/sites/item/pages/item/graphsitepage/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index eae8a69ae0b..01e81f22451 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/lastModifiedByUser/mailboxSettings", 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/groups/item/sites/item/pages/item/graphsitepage/webparts/WebPartsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/webparts/WebPartsRequestBuilder.java index fe7d8db618d..f0c1ef6f572 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/webparts/WebPartsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/webparts/WebPartsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final WebPart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts", 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/groups/item/sites/item/pages/item/graphsitepage/webparts/item/WebPartItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/webparts/item/WebPartItemRequestBuilder.java index b67fc4d5370..497eeff84bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/webparts/item/WebPartItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/graphsitepage/webparts/item/WebPartItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%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 WebPart body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/graph.sitePage/webParts/{webPart%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/groups/item/sites/item/pages/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 80bad96a205..e9db062a3d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/pages/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/pages/{baseSitePage%2Did}/lastModifiedByUser/mailboxSettings", 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/groups/item/sites/item/permissions/PermissionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/PermissionsRequestBuilder.java index 9c08892cb84..ef0b55fcf69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/PermissionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/PermissionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Permission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/permissions", 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/groups/item/sites/item/permissions/item/PermissionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/item/PermissionItemRequestBuilder.java index 546031209ec..3ed897fd1d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/item/PermissionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/permissions/item/PermissionItemRequestBuilder.java @@ -138,7 +138,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}/groups/{group%2Did}/sites/{site%2Did}/permissions/{permission%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Permission body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/permissions/{permission%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/groups/item/sites/item/recyclebin/RecycleBinRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/RecycleBinRequestBuilder.java index 257236819be..717734c5380 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/RecycleBinRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/RecycleBinRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/recycleBin", 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 RecycleBin body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin", 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/groups/item/sites/item/recyclebin/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index df594199206..3c9f9012770 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/createdByUser/mailboxSettings", 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/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java index 9bb6f2ffadf..1ea35f98448 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/ItemsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RecycleBinItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items", 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/groups/item/sites/item/recyclebin/items/item/RecycleBinItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/RecycleBinItemItemRequestBuilder.java index 973489298b5..f615c6c57f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/RecycleBinItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/RecycleBinItemItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/{recycleBinItem%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 RecycleBinItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/{recycleBinItem%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/groups/item/sites/item/recyclebin/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 5099d12d366..462a14f091a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/createdbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/{recycleBinItem%2Did}/createdByUser/mailboxSettings", 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/groups/item/sites/item/recyclebin/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 8866ffc3e49..bda27a8f12b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/items/item/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/items/{recycleBinItem%2Did}/lastModifiedByUser/mailboxSettings", 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/groups/item/sites/item/recyclebin/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java index 7c4574648be..b1d130617ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/recyclebin/lastmodifiedbyuser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/recycleBin/lastModifiedByUser/mailboxSettings", 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/groups/item/sites/item/termstore/TermStoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/TermStoreRequestBuilder.java index b5bead3857d..b119659979f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/TermStoreRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/TermStoreRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore", 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 Store body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore", 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/groups/item/sites/item/termstore/groups/GroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/GroupsRequestBuilder.java index fa0d97b2ef9..98af09ccea9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/GroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/GroupsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups", 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/groups/item/sites/item/termstore/groups/item/GroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/GroupItemRequestBuilder.java index c949d0846b8..7a1dbd7fcad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/GroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/GroupItemRequestBuilder.java @@ -129,7 +129,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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/SetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/SetsRequestBuilder.java index 0292aa8cf62..01da79b8856 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/SetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/SetsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Set body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets", 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/groups/item/sites/item/termstore/groups/item/sets/item/SetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/SetItemRequestBuilder.java index ca8a586a9db..bab5433b6f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/SetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/SetItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%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 Set body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%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/groups/item/sites/item/termstore/groups/item/sets/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/ChildrenRequestBuilder.java index f69c75af876..65c1a3a6510 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/ChildrenRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children", 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/groups/item/sites/item/termstore/groups/item/sets/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/TermItemRequestBuilder.java index ea728acd2be..f8faf5b07b4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%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/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/ChildrenRequestBuilder.java index 1dfcd9697c0..c0210c12f15 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/ChildrenRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/children", 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/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/TermItemRequestBuilder.java index e557af410b5..bee5b41987a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}", 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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/children/{term%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java index f30cda6966a..c905c8d720c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}/relations", 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/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java index d11161d17a2..1e3964604c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}/relations/{relation%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/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/RelationsRequestBuilder.java index 802711aacc4..1268e746a0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/relations", 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/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/item/RelationItemRequestBuilder.java index 249a7d35bf9..fef38f7d714 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/children/{term%2Did}/relations/{relation%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/groups/item/sites/item/termstore/groups/item/sets/item/parentgroup/ParentGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/parentgroup/ParentGroupRequestBuilder.java index fede7212870..4a26a333220 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/parentgroup/ParentGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/parentgroup/ParentGroupRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/parentGroup", 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 Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/parentGroup", 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/groups/item/sites/item/termstore/groups/item/sets/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/relations/RelationsRequestBuilder.java index f0a0b75681c..156a1695836 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/relations/RelationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/relations", 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/groups/item/sites/item/termstore/groups/item/sets/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/relations/item/RelationItemRequestBuilder.java index fa357929197..4fe2f4b324c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/relations/{relation%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/groups/item/sites/item/termstore/groups/item/sets/item/terms/TermsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/TermsRequestBuilder.java index 41b9dc9a08a..741f3aa0411 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/TermsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/TermsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms", 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/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/TermItemRequestBuilder.java index b11949e9960..4f8436c264f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%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/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/ChildrenRequestBuilder.java index be2f90e07a4..23bbf04b914 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/ChildrenRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/children", 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/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/TermItemRequestBuilder.java index 6f10407d48c..fb6161a8942 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}", 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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/children/{term%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java index 985a027b7cd..c41192837f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}/relations", 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/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java index 70dba7c75de..b0883dc0ef6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}/relations/{relation%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/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/RelationsRequestBuilder.java index dfa4a3ab762..ed095c91dc1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/relations", 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/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java index a4278acc432..c966e85d322 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/groups/item/sets/item/terms/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/groups/{group%2Did1}/sets/{set%2Did}/terms/{term%2Did}/relations/{relation%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/groups/item/sites/item/termstore/sets/SetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/SetsRequestBuilder.java index e406b7c13f4..3c1e72fd958 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/SetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/SetsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Set body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets", 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/groups/item/sites/item/termstore/sets/item/SetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/SetItemRequestBuilder.java index 574d3b23557..37bb1279a1f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/SetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/SetItemRequestBuilder.java @@ -158,7 +158,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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -201,7 +201,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Set body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%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/groups/item/sites/item/termstore/sets/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/ChildrenRequestBuilder.java index 5d9f808c15b..442fda60476 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/ChildrenRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children", 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/groups/item/sites/item/termstore/sets/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/TermItemRequestBuilder.java index c1a6e0b8a1b..d2c65b92dff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%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/groups/item/sites/item/termstore/sets/item/children/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/ChildrenRequestBuilder.java index a09b60970c2..fee02108f0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/ChildrenRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/children", 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/groups/item/sites/item/termstore/sets/item/children/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/TermItemRequestBuilder.java index de04f1df061..ec7ffbb9d13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}", 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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/children/{term%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java index 4333651bc5d..1f91cc98754 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}/relations", 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/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java index 64a9056d4f1..bcab1073c2c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/children/{term%2Did1}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/relations/RelationsRequestBuilder.java index b370f32df9e..194588191b3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/relations", 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/groups/item/sites/item/termstore/sets/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/relations/item/RelationItemRequestBuilder.java index ec00951fcef..ab644901a0c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/children/{term%2Did}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/parentgroup/ParentGroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/ParentGroupRequestBuilder.java index 6059576108e..2a3e009df2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/ParentGroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/ParentGroupRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup", 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 Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/SetsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/SetsRequestBuilder.java index dde308be386..eb28bbb06d1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/SetsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/SetsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Set body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/SetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/SetItemRequestBuilder.java index a9e260be2e5..9c529e5c0b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/SetItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/SetItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}", 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 Set body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/ChildrenRequestBuilder.java index f8c5459bd63..ccfa2f37a4f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/ChildrenRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/TermItemRequestBuilder.java index 31802e208c5..4564b29941a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/ChildrenRequestBuilder.java index e6c64549aa4..dce6bec7d50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/ChildrenRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/children", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/TermItemRequestBuilder.java index 2fd6365a25f..ca0fe1f2819 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/children/{term%2Did1}", 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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/children/{term%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java index e65114fd17f..a6177b57540 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/children/{term%2Did1}/relations", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java index 08bcba736be..c656d236753 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/children/{term%2Did1}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/children/{term%2Did1}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/RelationsRequestBuilder.java index f39e4b8966d..8923167771d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/relations", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/item/RelationItemRequestBuilder.java index 91095ffb6e0..00319bafa83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/children/{term%2Did}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/RelationsRequestBuilder.java index 7d9f9ce2b2d..839bfe5235d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/RelationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/relations", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/item/RelationItemRequestBuilder.java index 6712db5aa96..2b4a0a4fab2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/TermsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/TermsRequestBuilder.java index 4d0019134ba..989ca420ad1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/TermsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/TermsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/TermItemRequestBuilder.java index 2459f296259..06fc82f3da0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/ChildrenRequestBuilder.java index d9a7325a847..c02cb8440db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/ChildrenRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/children", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/TermItemRequestBuilder.java index ceae5265e95..1bedcd7fc2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/children/{term%2Did1}", 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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/children/{term%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java index aabf59aa905..79bf9ec9769 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/children/{term%2Did1}/relations", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java index fbd9d4633d3..3663eb66c8c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/children/{term%2Did1}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/children/{term%2Did1}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/RelationsRequestBuilder.java index faff47d1fbe..cf8cc770bfb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/relations", 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/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java index 3857f906b09..82abce5355b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/parentgroup/sets/item/terms/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/parentGroup/sets/{set%2Did1}/terms/{term%2Did}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/relations/RelationsRequestBuilder.java index 67a894b2004..39646f74235 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/relations/RelationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/relations", 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/groups/item/sites/item/termstore/sets/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/relations/item/RelationItemRequestBuilder.java index 5bb386f8bce..2fcd450b2cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/terms/TermsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/TermsRequestBuilder.java index ee965edca68..c6373940245 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/TermsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/TermsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms", 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/groups/item/sites/item/termstore/sets/item/terms/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/TermItemRequestBuilder.java index a10777936a7..e111e69e70b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%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/groups/item/sites/item/termstore/sets/item/terms/item/children/ChildrenRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/ChildrenRequestBuilder.java index 37048d5e2c4..9a0d140b536 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/ChildrenRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/ChildrenRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/children", 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/groups/item/sites/item/termstore/sets/item/terms/item/children/item/TermItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/TermItemRequestBuilder.java index f9af6ab7dec..55a6e4e7742 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/TermItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/TermItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}", 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 Term body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/children/{term%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java index 8f8db43f57d..a7a48e34830 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}/relations", 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/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java index 8954d6929b6..54f2ed7d2e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/children/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/children/{term%2Did1}/relations/{relation%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/groups/item/sites/item/termstore/sets/item/terms/item/relations/RelationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/relations/RelationsRequestBuilder.java index d746c855bd6..8c4c939fd1d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/relations/RelationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/relations/RelationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/relations", 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/groups/item/sites/item/termstore/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java index 2ca065e9bb0..909ebc94428 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/relations/item/RelationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/sites/item/termstore/sets/item/terms/item/relations/item/RelationItemRequestBuilder.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}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/relations/{relation%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 Relation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/termStore/sets/{set%2Did}/terms/{term%2Did}/relations/{relation%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/groups/item/team/TeamRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/TeamRequestBuilder.java index b219f18ae8a..1744d0e4764 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/TeamRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/TeamRequestBuilder.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}/groups/{group%2Did}/team", 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 toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final Team body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/groups/{group%2Did}/team", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setContentFromParsable(requestAdapter, "application/json", body); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/ChannelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/ChannelsRequestBuilder.java index 6f19e839c94..7a3112a93e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/ChannelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/ChannelsRequestBuilder.java @@ -175,7 +175,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Channel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels", 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/groups/item/team/channels/item/ChannelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/ChannelItemRequestBuilder.java index ad5e2048fbf..260d5ac62fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/ChannelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/ChannelItemRequestBuilder.java @@ -221,7 +221,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}/groups/{group%2Did}/team/channels/{channel%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -264,7 +264,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Channel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%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/groups/item/team/channels/item/archive/ArchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/archive/ArchiveRequestBuilder.java index c24c0d64f62..6e1544d6005 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/archive/ArchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/archive/ArchiveRequestBuilder.java @@ -35,18 +35,20 @@ public ArchiveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/archive", rawUrl); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ArchivePostRequestBody body) { post(body, null); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ArchivePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -56,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ArchivePostRequestBody body, this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @return a {@link RequestInformation} */ @@ -65,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/filesfolder/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/filesfolder/content/ContentRequestBuilder.java index d03130b154f..34fefbb9f2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/filesfolder/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/filesfolder/content/ContentRequestBuilder.java @@ -124,7 +124,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/filesFolder/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java index d570e236f59..2f0d25871f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/members/MembersRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%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/groups/item/team/channels/item/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/members/item/ConversationMemberItemRequestBuilder.java index 5db369c5363..54dc9f28d2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/members/item/ConversationMemberItemRequestBuilder.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}/groups/{group%2Did}/team/channels/{channel%2Did}/members/{conversationMember%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 ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/{conversationMember%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/groups/item/team/channels/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/MessagesRequestBuilder.java index 44bc977873f..f1d9b3f049c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/MessagesRequestBuilder.java @@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/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/groups/item/team/channels/item/messages/item/ChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/ChatMessageItemRequestBuilder.java index 13f50001307..931e506458d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/ChatMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/ChatMessageItemRequestBuilder.java @@ -133,7 +133,7 @@ public ChatMessage get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.send(requestInfo, errorMapping, ChatMessage::createFromDiscriminatorValue); } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code @@ -144,7 +144,7 @@ public ChatMessage patch(@jakarta.annotation.Nonnull final ChatMessage body) { return patch(body, null); } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} @@ -174,7 +174,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}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -200,7 +200,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @return a {@link RequestInformation} */ @@ -209,7 +209,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -217,7 +217,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%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/groups/item/team/channels/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java index 69e978c3e76..b02cee2b640 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/hostedcontents/HostedContentsRequestBuilder.java @@ -60,7 +60,7 @@ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public ChatMessageHostedContentCollectionResponse get() { return get(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessa return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageHostedContent::createFromDiscriminatorValue); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents", 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); @@ -163,7 +163,7 @@ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new HostedContentsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java index c0c3b5c0031..c840371def5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.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}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java index be146cb225d..44b2bb63f3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/RepliesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies", 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/groups/item/team/channels/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java index 276e89415fe..e06ff9bd424 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/ChatMessageItemRequestBuilder.java @@ -163,7 +163,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}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java index 70ced5daaf7..18b16771fc9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java @@ -60,7 +60,7 @@ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public ChatMessageHostedContentCollectionResponse get() { return get(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessa return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageHostedContent::createFromDiscriminatorValue); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents", 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); @@ -163,7 +163,7 @@ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new HostedContentsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java index c089b6881ce..75a0cb693f4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.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}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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/groups/item/team/channels/item/sharedwithteams/SharedWithTeamsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/sharedwithteams/SharedWithTeamsRequestBuilder.java index 5e987b74f0f..4e09bedf1f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/sharedwithteams/SharedWithTeamsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/sharedwithteams/SharedWithTeamsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharedWithChannelTeamInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/sharedWithTeams", 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/groups/item/team/channels/item/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java index a1ff8c69f3f..f759747f7cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java @@ -138,7 +138,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}/groups/{group%2Did}/team/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharedWithChannelTeamInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/sharedWithTeams/{sharedWithChannelTeamInfo%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/groups/item/team/channels/item/tabs/TabsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/tabs/TabsRequestBuilder.java index 4c2dea43c7a..8bfdf0b7934 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/tabs/TabsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/tabs/TabsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsTab body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/tabs", 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/groups/item/team/channels/item/tabs/item/TeamsTabItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/tabs/item/TeamsTabItemRequestBuilder.java index 7c04c36acd0..69b94cb0c2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/tabs/item/TeamsTabItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/tabs/item/TeamsTabItemRequestBuilder.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}/groups/{group%2Did}/team/channels/{channel%2Did}/tabs/{teamsTab%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 TeamsTab body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/tabs/{teamsTab%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/groups/item/team/channels/item/unarchive/UnarchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/unarchive/UnarchiveRequestBuilder.java index afe8e5e516a..439392c0abc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/unarchive/UnarchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/channels/item/unarchive/UnarchiveRequestBuilder.java @@ -35,16 +35,18 @@ public UnarchiveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/unarchive", rawUrl); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post() { post(null); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @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 */ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -53,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -61,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/installedapps/InstalledAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/installedapps/InstalledAppsRequestBuilder.java index 7d823759eed..37ee4ab075b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/installedapps/InstalledAppsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/installedapps/InstalledAppsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsAppInstallation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/installedApps", 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/groups/item/team/installedapps/item/TeamsAppInstallationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/installedapps/item/TeamsAppInstallationItemRequestBuilder.java index bf52c0011d6..d0faf978d52 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/installedapps/item/TeamsAppInstallationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/installedapps/item/TeamsAppInstallationItemRequestBuilder.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}/groups/{group%2Did}/team/installedApps/{teamsAppInstallation%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 TeamsAppInstallation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/installedApps/{teamsAppInstallation%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/groups/item/team/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/members/MembersRequestBuilder.java index fe1e6e9593a..d3f71a32583 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/members/MembersRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/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/groups/item/team/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/members/item/ConversationMemberItemRequestBuilder.java index d1896403f73..96807fd0140 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/members/item/ConversationMemberItemRequestBuilder.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}/groups/{group%2Did}/team/members/{conversationMember%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 ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/members/{conversationMember%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/groups/item/team/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/operations/OperationsRequestBuilder.java index 9bce4497dd5..943b1db63cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/operations/OperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/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/groups/item/team/operations/item/TeamsAsyncOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/operations/item/TeamsAsyncOperationItemRequestBuilder.java index 4c434a1ade8..34277c9cf41 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/operations/item/TeamsAsyncOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/operations/item/TeamsAsyncOperationItemRequestBuilder.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}/groups/{group%2Did}/team/operations/{teamsAsyncOperation%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 TeamsAsyncOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/operations/{teamsAsyncOperation%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/groups/item/team/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java index cd784f85760..dad7d27602c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/owners/item/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/owners/{user%2Did}/mailboxSettings", 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/groups/item/team/permissiongrants/PermissionGrantsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/permissiongrants/PermissionGrantsRequestBuilder.java index dd0bd2180f4..09f5ce2e2ef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/permissiongrants/PermissionGrantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/permissiongrants/PermissionGrantsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ResourceSpecificPermissionGrant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/permissionGrants", 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/groups/item/team/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java index fbbcd1b63a9..fde0d87f49a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/permissiongrants/item/ResourceSpecificPermissionGrantItemRequestBuilder.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}/groups/{group%2Did}/team/permissionGrants/{resourceSpecificPermissionGrant%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 ResourceSpecificPermissionGrant body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/permissionGrants/{resourceSpecificPermissionGrant%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/groups/item/team/photo/PhotoRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/photo/PhotoRequestBuilder.java index 3a402affba7..32a402a4993 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/photo/PhotoRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/photo/PhotoRequestBuilder.java @@ -130,7 +130,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfilePhoto body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/photo", 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/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java index 330c26d57ae..1050d40bad7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/PrimaryChannelRequestBuilder.java @@ -217,7 +217,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}/groups/{group%2Did}/team/primaryChannel", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -260,7 +260,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Channel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel", 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/groups/item/team/primarychannel/archive/ArchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/archive/ArchiveRequestBuilder.java index 763df67b33e..23e9a22e158 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/archive/ArchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/archive/ArchiveRequestBuilder.java @@ -35,18 +35,20 @@ public ArchiveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/archive", rawUrl); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ArchivePostRequestBody body) { post(body, null); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ArchivePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -56,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ArchivePostRequestBody body, this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @return a {@link RequestInformation} */ @@ -65,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action archive + * Archive a channel in a team. When a channel is archived, users can't send new messages or react to existing messages in the channel, edit the channel settings, or make other changes to the channel. You can delete an archived channel, or add and remove members from it. If you archive a team, its channels are archived for you. Archiving is asynchronous; a channel is archived after the asynchronous archiving operation completes successfully, which might occur after the response returns. A channel without an owner, or that belongs to a group that has no owner, can't be archived. To restore a channel from its archived state, use the unarchive method. A channel cant be archived or unarchived if its team is archived. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/filesfolder/content/ContentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/filesfolder/content/ContentRequestBuilder.java index ee47785b6ca..f5c54bcb771 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/filesfolder/content/ContentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/filesfolder/content/ContentRequestBuilder.java @@ -124,7 +124,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final InputStream body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/filesFolder/content", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setStreamContent(body, "application/octet-stream"); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java index f5d4a3e2e61..36975332a0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/members/MembersRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/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/groups/item/team/primarychannel/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/members/item/ConversationMemberItemRequestBuilder.java index 7f073c403b9..bac6277e652 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/members/item/ConversationMemberItemRequestBuilder.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}/groups/{group%2Did}/team/primaryChannel/members/{conversationMember%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 ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/{conversationMember%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/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java index 8d16378695a..26454296a56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/MessagesRequestBuilder.java @@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @return a {@link RequestInformation} */ @@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Send a new chatMessage in the specified channel or a chat. + * Send a new chatMessage in the specified channel. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/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/groups/item/team/primarychannel/messages/item/ChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/ChatMessageItemRequestBuilder.java index 9a54c2f1dcc..33a2cd0e478 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/ChatMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/ChatMessageItemRequestBuilder.java @@ -133,7 +133,7 @@ public ChatMessage get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.send(requestInfo, errorMapping, ChatMessage::createFromDiscriminatorValue); } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code @@ -144,7 +144,7 @@ public ChatMessage patch(@jakarta.annotation.Nonnull final ChatMessage body) { return patch(body, null); } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} @@ -174,7 +174,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}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -200,7 +200,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @return a {@link RequestInformation} */ @@ -209,7 +209,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. + * Update a chatMessage object. You can update all the properties of chatMessage in delegated permissions scenarios, except for the policyViolation property and read-only properties. The policyViolation property is the only property that can be updated in application permissions scenarios. Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails. This method doesn't support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -217,7 +217,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%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/groups/item/team/primarychannel/messages/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/hostedcontents/HostedContentsRequestBuilder.java index 280981ea071..2fe87d8094c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/hostedcontents/HostedContentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/hostedcontents/HostedContentsRequestBuilder.java @@ -60,7 +60,7 @@ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public ChatMessageHostedContentCollectionResponse get() { return get(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessa return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageHostedContent::createFromDiscriminatorValue); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents", 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); @@ -163,7 +163,7 @@ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new HostedContentsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java index 8cb394c6b6c..806cd9d9470 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.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}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%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/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java index bce73496e0d..b96adee625e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/RepliesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies", 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/groups/item/team/primarychannel/messages/item/replies/item/ChatMessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/ChatMessageItemRequestBuilder.java index f0550d1235a..1b317657cf6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/ChatMessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/ChatMessageItemRequestBuilder.java @@ -163,7 +163,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}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java index bef8cec3229..cad68c9f3e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/HostedContentsRequestBuilder.java @@ -60,7 +60,7 @@ public HostedContentsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public ChatMessageHostedContentCollectionResponse get() { return get(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessageHostedContentCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -109,7 +109,7 @@ public ChatMessageHostedContent post(@jakarta.annotation.Nonnull final ChatMessa return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageHostedContent::createFromDiscriminatorValue); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents", 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); @@ -163,7 +163,7 @@ public HostedContentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new HostedContentsRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content + * Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.s */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java index b3bdfa9cfd1..ba03c58b319 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/messages/item/replies/item/hostedcontents/item/ChatMessageHostedContentItemRequestBuilder.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}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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 ChatMessageHostedContent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%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/groups/item/team/primarychannel/sharedwithteams/SharedWithTeamsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/sharedwithteams/SharedWithTeamsRequestBuilder.java index 6e4ff8ce91e..2e5826a6e46 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/sharedwithteams/SharedWithTeamsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/sharedwithteams/SharedWithTeamsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SharedWithChannelTeamInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/sharedWithTeams", 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/groups/item/team/primarychannel/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java index dbd6181d261..e63999c808e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/sharedwithteams/item/SharedWithChannelTeamInfoItemRequestBuilder.java @@ -138,7 +138,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}/groups/{group%2Did}/team/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final SharedWithChannelTeamInfo body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/sharedWithTeams/{sharedWithChannelTeamInfo%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/groups/item/team/primarychannel/tabs/TabsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/tabs/TabsRequestBuilder.java index 5bfd179002e..602bf074d8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/tabs/TabsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/tabs/TabsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamsTab body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/tabs", 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/groups/item/team/primarychannel/tabs/item/TeamsTabItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/tabs/item/TeamsTabItemRequestBuilder.java index 42c4a4b4ac9..e878e2b2340 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/tabs/item/TeamsTabItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/tabs/item/TeamsTabItemRequestBuilder.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}/groups/{group%2Did}/team/primaryChannel/tabs/{teamsTab%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 TeamsTab body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/tabs/{teamsTab%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/groups/item/team/primarychannel/unarchive/UnarchiveRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/unarchive/UnarchiveRequestBuilder.java index 823e4b12325..510c377400d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/unarchive/UnarchiveRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/primarychannel/unarchive/UnarchiveRequestBuilder.java @@ -35,16 +35,18 @@ public UnarchiveRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/unarchive", rawUrl); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post() { post(null); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @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 */ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -53,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -61,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action unarchive + * Restore an archived channel. Unarchiving restores the ability for users to send messages and edit the channel. Channels are archived via the archive API. Unarchiving is an asynchronous operation; a channel is unarchived when the asynchronous unarchive operation completes successfully, which might occur after this method responds. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/ScheduleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/ScheduleRequestBuilder.java index 5e0ced989fc..fbda2536255 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/ScheduleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/ScheduleRequestBuilder.java @@ -235,7 +235,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}/groups/{group%2Did}/team/schedule", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -278,7 +278,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final Schedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/groups/{group%2Did}/team/schedule", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setContentFromParsable(requestAdapter, "application/json", body); diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/daynotes/DayNotesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/daynotes/DayNotesRequestBuilder.java index 2fef41b835c..1acea389368 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/daynotes/DayNotesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/daynotes/DayNotesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DayNote body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes", 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/groups/item/team/schedule/daynotes/item/DayNoteItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/daynotes/item/DayNoteItemRequestBuilder.java index 6ca358d295c..e4d2e7577ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/daynotes/item/DayNoteItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/daynotes/item/DayNoteItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%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 DayNote body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/dayNotes/{dayNote%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/groups/item/team/schedule/offershiftrequests/OfferShiftRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/offershiftrequests/OfferShiftRequestsRequestBuilder.java index 9321a060611..ed8f69fe2f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/offershiftrequests/OfferShiftRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/offershiftrequests/OfferShiftRequestsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OfferShiftRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/offerShiftRequests", 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/groups/item/team/schedule/offershiftrequests/item/OfferShiftRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/offershiftrequests/item/OfferShiftRequestItemRequestBuilder.java index 8a3845f3d71..b860ae77814 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/offershiftrequests/item/OfferShiftRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/offershiftrequests/item/OfferShiftRequestItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/offerShiftRequests/{offerShiftRequest%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 OfferShiftRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/offerShiftRequests/{offerShiftRequest%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/groups/item/team/schedule/openshiftchangerequests/OpenShiftChangeRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshiftchangerequests/OpenShiftChangeRequestsRequestBuilder.java index 66cabe2d2a7..b7914ff0c60 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshiftchangerequests/OpenShiftChangeRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshiftchangerequests/OpenShiftChangeRequestsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OpenShiftChangeRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/openShiftChangeRequests", 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/groups/item/team/schedule/openshiftchangerequests/item/OpenShiftChangeRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshiftchangerequests/item/OpenShiftChangeRequestItemRequestBuilder.java index 022ea1dbdca..a37eb46b2ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshiftchangerequests/item/OpenShiftChangeRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshiftchangerequests/item/OpenShiftChangeRequestItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/openShiftChangeRequests/{openShiftChangeRequest%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 OpenShiftChangeRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/openShiftChangeRequests/{openShiftChangeRequest%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/groups/item/team/schedule/openshifts/OpenShiftsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshifts/OpenShiftsRequestBuilder.java index 3f6f3f53f13..8e2295b5603 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshifts/OpenShiftsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshifts/OpenShiftsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final OpenShift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/openShifts", 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/groups/item/team/schedule/openshifts/item/OpenShiftItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshifts/item/OpenShiftItemRequestBuilder.java index a22e5576de6..54d4ae8f220 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshifts/item/OpenShiftItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/openshifts/item/OpenShiftItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/openShifts/{openShift%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 OpenShift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/openShifts/{openShift%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/groups/item/team/schedule/schedulinggroups/SchedulingGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/schedulinggroups/SchedulingGroupsRequestBuilder.java index 5385de748fb..078880a23e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/schedulinggroups/SchedulingGroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/schedulinggroups/SchedulingGroupsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SchedulingGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups", 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/groups/item/team/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.java index aa62720dc5e..ee06d3f4986 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/schedulinggroups/item/SchedulingGroupItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/schedulingGroups/{schedulingGroup%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 SchedulingGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/schedulingGroups/{schedulingGroup%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/groups/item/team/schedule/shifts/ShiftsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shifts/ShiftsRequestBuilder.java index aabd3122e9f..d0dff6cca69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shifts/ShiftsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shifts/ShiftsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Shift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/shifts", 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/groups/item/team/schedule/shifts/item/ShiftItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shifts/item/ShiftItemRequestBuilder.java index 739b8cfa744..47e0ef4eb02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shifts/item/ShiftItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shifts/item/ShiftItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/shifts/{shift%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 Shift body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/shifts/{shift%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/groups/item/team/schedule/shiftsroledefinitions/ShiftsRoleDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shiftsroledefinitions/ShiftsRoleDefinitionsRequestBuilder.java index 472da60cf14..606328842d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shiftsroledefinitions/ShiftsRoleDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shiftsroledefinitions/ShiftsRoleDefinitionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ShiftsRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/shiftsRoleDefinitions", 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/groups/item/team/schedule/shiftsroledefinitions/item/ShiftsRoleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shiftsroledefinitions/item/ShiftsRoleDefinitionItemRequestBuilder.java index e1b29be03dd..f8326a1c9c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shiftsroledefinitions/item/ShiftsRoleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/shiftsroledefinitions/item/ShiftsRoleDefinitionItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/shiftsRoleDefinitions/{shiftsRoleDefinition%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 ShiftsRoleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/shiftsRoleDefinitions/{shiftsRoleDefinition%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/groups/item/team/schedule/swapshiftschangerequests/SwapShiftsChangeRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/swapshiftschangerequests/SwapShiftsChangeRequestsRequestBuilder.java index 5436b8154f2..739eebd5c45 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/swapshiftschangerequests/SwapShiftsChangeRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/swapshiftschangerequests/SwapShiftsChangeRequestsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SwapShiftsChangeRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/swapShiftsChangeRequests", 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/groups/item/team/schedule/swapshiftschangerequests/item/SwapShiftsChangeRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/swapshiftschangerequests/item/SwapShiftsChangeRequestItemRequestBuilder.java index 74e6f845525..dc524205cdc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/swapshiftschangerequests/item/SwapShiftsChangeRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/swapshiftschangerequests/item/SwapShiftsChangeRequestItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequest%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 SwapShiftsChangeRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequest%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/groups/item/team/schedule/timecards/TimeCardsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/TimeCardsRequestBuilder.java index de396e7edfd..0642b805058 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/TimeCardsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/TimeCardsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TimeCard body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards", 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/groups/item/team/schedule/timecards/item/TimeCardItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/TimeCardItemRequestBuilder.java index f4291c60e36..bd3a578e88f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/TimeCardItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/TimeCardItemRequestBuilder.java @@ -158,7 +158,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}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -201,7 +201,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final TimeCard body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%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/groups/item/team/schedule/timeoffreasons/TimeOffReasonsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffreasons/TimeOffReasonsRequestBuilder.java index 654902d10eb..fc718fe79fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffreasons/TimeOffReasonsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffreasons/TimeOffReasonsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TimeOffReason body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons", 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/groups/item/team/schedule/timeoffreasons/item/TimeOffReasonItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffreasons/item/TimeOffReasonItemRequestBuilder.java index 335c0d9847f..f89fbf84d35 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffreasons/item/TimeOffReasonItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffreasons/item/TimeOffReasonItemRequestBuilder.java @@ -37,7 +37,7 @@ public TimeOffReasonItemRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons/{timeOffReason%2Did}{?%24select}", rawUrl); } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -45,7 +45,7 @@ public void delete() { delete(null); } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. * @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 @@ -108,7 +108,7 @@ public TimeOffReason patch(@jakarta.annotation.Nonnull final TimeOffReason body, return this.requestAdapter.send(requestInfo, errorMapping, TimeOffReason::createFromDiscriminatorValue); } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,13 +116,13 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. + * Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeOffReason. This method doesn't remove the specified timeOffReason instance. timeOffItem instances that were assigned this reason remain assigned to this reason. * @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}/groups/{group%2Did}/team/schedule/timeOffReasons/{timeOffReason%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 TimeOffReason body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffReasons/{timeOffReason%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/groups/item/team/schedule/timeoffrequests/TimeOffRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffrequests/TimeOffRequestsRequestBuilder.java index 23ce6a4ef45..88ae80312fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffrequests/TimeOffRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffrequests/TimeOffRequestsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TimeOffRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests", 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/groups/item/team/schedule/timeoffrequests/item/TimeOffRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffrequests/item/TimeOffRequestItemRequestBuilder.java index 26b0a813791..498a214ab68 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffrequests/item/TimeOffRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timeoffrequests/item/TimeOffRequestItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/timeOffRequests/{timeOffRequest%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 TimeOffRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/timeOffRequests/{timeOffRequest%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/groups/item/team/schedule/timesoff/TimesOffRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timesoff/TimesOffRequestBuilder.java index e640f882b5c..37bda17970c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timesoff/TimesOffRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timesoff/TimesOffRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TimeOff body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/schedule/timesOff", 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/groups/item/team/schedule/timesoff/item/TimeOffItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timesoff/item/TimeOffItemRequestBuilder.java index 2c503f6ca80..e8c9d258e46 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timesoff/item/TimeOffItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timesoff/item/TimeOffItemRequestBuilder.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}/groups/{group%2Did}/team/schedule/timesOff/{timeOff%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 TimeOff body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/schedule/timesOff/{timeOff%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/groups/item/team/tags/TagsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/TagsRequestBuilder.java index 0855c9ea6ae..8c3171e4b16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/TagsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/TagsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamworkTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/tags", 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/groups/item/team/tags/item/TeamworkTagItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/TeamworkTagItemRequestBuilder.java index 570f0165aac..0f574d38c1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/TeamworkTagItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/TeamworkTagItemRequestBuilder.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}/groups/{group%2Did}/team/tags/{teamworkTag%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 TeamworkTag body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/tags/{teamworkTag%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/groups/item/team/tags/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/members/MembersRequestBuilder.java index 40aedfb8eba..84f33a3901e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/members/MembersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/members/MembersRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final TeamworkTagMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/team/tags/{teamworkTag%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/groups/item/team/tags/item/members/item/TeamworkTagMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/members/item/TeamworkTagMemberItemRequestBuilder.java index 6c91e351b1e..1aa17bf2851 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/members/item/TeamworkTagMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/tags/item/members/item/TeamworkTagMemberItemRequestBuilder.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}/groups/{group%2Did}/team/tags/{teamworkTag%2Did}/members/{teamworkTagMember%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 TeamworkTagMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/team/tags/{teamworkTag%2Did}/members/{teamworkTagMember%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/groups/item/threads/ThreadsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/ThreadsRequestBuilder.java index ceea103d0ec..a4f9a70dfbd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/ThreadsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/ThreadsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConversationThread body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/threads", 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/groups/item/threads/item/ConversationThreadItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java index c41f467fbcf..575382c465a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java @@ -55,18 +55,18 @@ public ConversationThreadItemRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24select}", rawUrl); } /** - * Delete conversationThread. + * Delete a thread 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 conversationThread. + * Delete a thread 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); @@ -75,21 +75,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @return a {@link ConversationThread} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationThread get() { return get(null); } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationThread} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationThread get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public ConversationThread patch(@jakarta.annotation.Nonnull final ConversationTh return this.requestAdapter.send(requestInfo, errorMapping, ConversationThread::createFromDiscriminatorValue); } /** - * Delete conversationThread. + * Delete a thread object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -134,19 +134,19 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete conversationThread. + * Delete a thread 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}/groups/{group%2Did}/threads/{conversationThread%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -154,7 +154,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. * @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 ConversationThread body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%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); @@ -206,7 +206,7 @@ public ConversationThreadItemRequestBuilder withUrl(@jakarta.annotation.Nonnull public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + * Get a thread object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/PostItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/PostItemRequestBuilder.java index 0c02d40d2b9..709a138507b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/PostItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/PostItemRequestBuilder.java @@ -177,7 +177,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Post body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java index 9a471779897..a6d7d0d0adc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/attachments/AttachmentsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java index 089ee7a2425..4e08b72c574 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/attachments/item/AttachmentItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/extensions/ExtensionsRequestBuilder.java index 1012bc4f744..f46895540d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.java index 20f22f7f557..39ccfe4326b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%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; @@ -163,7 +163,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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%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/groups/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java index dc14f07a52e..e81dd565208 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/attachments/AttachmentsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Attachment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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/groups/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java index 0357b793029..c940e2cf70b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/attachments/item/AttachmentItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/attachments/{attachment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/extensions/ExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/extensions/ExtensionsRequestBuilder.java index 030bd3e5985..eb1732c3743 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/extensions/ExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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/groups/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.java index 96babd26f6e..8fa35c28c05 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/extensions/item/ExtensionItemRequestBuilder.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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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; @@ -163,7 +163,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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/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/groups/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java index 0e1b839de0c..dcd9465b59b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/mentions/MentionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Mention body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions", 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/groups/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java index be22c8f19be..3a5666efb9b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/inreplyto/mentions/item/MentionItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/mentions/{mention%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java index ad48a7afc60..51765d4e588 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/mentions/MentionsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Mention body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions", 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/groups/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java index 39071633337..b3bcdece4b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/posts/item/mentions/item/MentionItemRequestBuilder.java @@ -91,7 +91,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}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/mentions/{mention%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java index 8773aa0ec54..629b9581d81 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java index 9c5d5491e47..0d126a62f6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groupswithuniquename/GroupsWithUniqueNameRequestBuilder.java @@ -83,7 +83,7 @@ public Group get(@jakarta.annotation.Nullable final java.util.function.Consumer< return this.requestAdapter.send(requestInfo, errorMapping, Group::createFromDiscriminatorValue); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code @@ -94,7 +94,7 @@ public Group patch(@jakarta.annotation.Nonnull final Group body) { return patch(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} @@ -124,7 +124,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}/groups(uniqueName='{uniqueName}')", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @return a {@link RequestInformation} */ @@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. + * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see thethe Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -167,7 +167,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/groups(uniqueName='{uniqueName}')", 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/identity/IdentityRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java index d434586fdaa..265947a2d36 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java @@ -220,7 +220,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityContainer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity", 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/identity/apiconnectors/ApiConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/apiconnectors/ApiConnectorsRequestBuilder.java index 2bca08a746d..897fc65c734 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/apiconnectors/ApiConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/apiconnectors/ApiConnectorsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityApiConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/apiConnectors", 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/identity/apiconnectors/item/IdentityApiConnectorItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/apiconnectors/item/IdentityApiConnectorItemRequestBuilder.java index 91d8578d91e..0e052b1427f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/apiconnectors/item/IdentityApiConnectorItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/apiconnectors/item/IdentityApiConnectorItemRequestBuilder.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}/identity/apiConnectors/{identityApiConnector%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 IdentityApiConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/apiConnectors/{identityApiConnector%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/identity/authenticationeventlisteners/AuthenticationEventListenersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventlisteners/AuthenticationEventListenersRequestBuilder.java index e9977755f70..db5454fe4a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventlisteners/AuthenticationEventListenersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventlisteners/AuthenticationEventListenersRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationEventListener body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/authenticationEventListeners", 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/identity/authenticationeventlisteners/item/AuthenticationEventListenerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventlisteners/item/AuthenticationEventListenerItemRequestBuilder.java index b0c27004192..3827f011fa5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventlisteners/item/AuthenticationEventListenerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventlisteners/item/AuthenticationEventListenerItemRequestBuilder.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}/identity/authenticationEventListeners/{authenticationEventListener%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 AuthenticationEventListener body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/authenticationEventListeners/{authenticationEventListener%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/identity/authenticationeventsflows/AuthenticationEventsFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/AuthenticationEventsFlowsRequestBuilder.java index 88c803421b6..eb1eb83b05b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/AuthenticationEventsFlowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/AuthenticationEventsFlowsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationEventsFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/authenticationEventsFlows", 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/identity/authenticationeventsflows/item/AuthenticationEventsFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/AuthenticationEventsFlowItemRequestBuilder.java index 75236a950b7..f2c4429b59d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/AuthenticationEventsFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/AuthenticationEventsFlowItemRequestBuilder.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}/identity/authenticationEventsFlows/{authenticationEventsFlow%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 AuthenticationEventsFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%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/identity/authenticationeventsflows/item/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java index d91fa2a0a3f..72e56716baa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationConditionApplication body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications", 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/identity/authenticationeventsflows/item/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.java index ae3cd2fba86..5d1ed01d683 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}", 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 AuthenticationConditionApplication body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}", 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/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java index 1c5bfe77bbd..cbca849b39a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/IncludeApplicationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationConditionApplication body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications", 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/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.java index 8d694fd9d58..6981fb923a3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/conditions/applications/includeapplications/item/AuthenticationConditionApplicationAppItemRequestBuilder.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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}", 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 AuthenticationConditionApplication body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/conditions/applications/includeApplications/{authenticationConditionApplication%2DappId}", 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/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onattributecollection/graphonattributecollectionexternalusersselfservicesignup/attributes/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onattributecollection/graphonattributecollectionexternalusersselfservicesignup/attributes/ref/RefRequestBuilder.java index 7495b28457f..ef55531d9fe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onattributecollection/graphonattributecollectionexternalusersselfservicesignup/attributes/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onattributecollection/graphonattributecollectionexternalusersselfservicesignup/attributes/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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAttributeCollection/graph.onAttributeCollectionExternalUsersSelfServiceSignUp/attributes/$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/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onauthenticationmethodloadstart/graphonauthenticationmethodloadstartexternalusersselfservicesignup/identityproviders/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onauthenticationmethodloadstart/graphonauthenticationmethodloadstartexternalusersselfservicesignup/identityproviders/ref/RefRequestBuilder.java index 220631fe849..7a5e56d41cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onauthenticationmethodloadstart/graphonauthenticationmethodloadstartexternalusersselfservicesignup/identityproviders/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/authenticationeventsflows/item/graphexternalusersselfservicesignupeventsflow/onauthenticationmethodloadstart/graphonauthenticationmethodloadstartexternalusersselfservicesignup/identityproviders/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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$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}/identity/authenticationEventsFlows/{authenticationEventsFlow%2Did}/graph.externalUsersSelfServiceSignUpEventsFlow/onAuthenticationMethodLoadStart/graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/identityProviders/$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/identity/b2cuserflows/B2cUserFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/B2cUserFlowsRequestBuilder.java index 40bb2b2248c..0fa55a83776 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/B2cUserFlowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/B2cUserFlowsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final B2cIdentityUserFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2cUserFlows", 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/identity/b2cuserflows/item/B2cIdentityUserFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/B2cIdentityUserFlowItemRequestBuilder.java index ce3350728a2..110d0bf9028 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/B2cIdentityUserFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/B2cIdentityUserFlowItemRequestBuilder.java @@ -158,7 +158,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}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -201,7 +201,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final B2cIdentityUserFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%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/identity/b2cuserflows/item/identityproviders/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/identityproviders/ref/RefRequestBuilder.java index 277ee7e9499..c7b28205d43 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/identityproviders/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/identityproviders/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}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/identityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/identityProviders/$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}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/identityProviders/$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/identity/b2cuserflows/item/languages/LanguagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/LanguagesRequestBuilder.java index 1d5a9540061..98024ccaf28 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/LanguagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/LanguagesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserFlowLanguageConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages", 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/identity/b2cuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.java index 3abcab152b8..457bae96685 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.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}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%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 UserFlowLanguageConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%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/identity/b2cuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java index 38ae36d8930..ef224ca0fb9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages", 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/identity/b2cuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.java index 678265ec3ce..7c384b33e18 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.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}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%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 UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%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/identity/b2cuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java index 6e53a07ba59..0ab3df91fed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages", 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/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java index 3231f2d0ebc..87f1e9219f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.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}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%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 UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%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/identity/b2cuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java index b656b7f3ee9..edd458a34bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityUserFlowAttributeAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/userAttributeAssignments", 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/identity/b2cuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.java index 9909ed134f4..51dffab5279 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2cuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.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}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/userAttributeAssignments/{identityUserFlowAttributeAssignment%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 IdentityUserFlowAttributeAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2cUserFlows/{b2cIdentityUserFlow%2Did}/userAttributeAssignments/{identityUserFlowAttributeAssignment%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/identity/b2xuserflows/B2xUserFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/B2xUserFlowsRequestBuilder.java index 3ff3feab97f..32e361f7306 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/B2xUserFlowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/B2xUserFlowsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final B2xIdentityUserFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2xUserFlows", 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/identity/b2xuserflows/item/B2xIdentityUserFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/B2xIdentityUserFlowItemRequestBuilder.java index 4788c184af3..21158232f75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/B2xIdentityUserFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/B2xIdentityUserFlowItemRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%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 B2xIdentityUserFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%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/identity/b2xuserflows/item/apiconnectorconfiguration/postattributecollection/PostAttributeCollectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/postattributecollection/PostAttributeCollectionRequestBuilder.java index 28c4e3071ff..a38d9455644 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/postattributecollection/PostAttributeCollectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/postattributecollection/PostAttributeCollectionRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/apiConnectorConfiguration/postAttributeCollection", 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 IdentityApiConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/apiConnectorConfiguration/postAttributeCollection", 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/identity/b2xuserflows/item/apiconnectorconfiguration/postfederationsignup/PostFederationSignupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/postfederationsignup/PostFederationSignupRequestBuilder.java index 37cc156f197..260347428f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/postfederationsignup/PostFederationSignupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/postfederationsignup/PostFederationSignupRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/apiConnectorConfiguration/postFederationSignup", 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 IdentityApiConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/apiConnectorConfiguration/postFederationSignup", 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/identity/b2xuserflows/item/apiconnectorconfiguration/pretokenissuance/PreTokenIssuanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/pretokenissuance/PreTokenIssuanceRequestBuilder.java index 11ef260ffe6..0ba14cfa6c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/pretokenissuance/PreTokenIssuanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/apiconnectorconfiguration/pretokenissuance/PreTokenIssuanceRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/apiConnectorConfiguration/preTokenIssuance", 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 IdentityApiConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/apiConnectorConfiguration/preTokenIssuance", 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/identity/b2xuserflows/item/languages/LanguagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/LanguagesRequestBuilder.java index a71483f2d65..5a8d1fdb411 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/LanguagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/LanguagesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserFlowLanguageConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages", 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/identity/b2xuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.java index a30cd9c4872..b3982e6ec34 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/UserFlowLanguageConfigurationItemRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%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 UserFlowLanguageConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%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/identity/b2xuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java index 0fcb0744616..61e1a2df57c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/defaultpages/DefaultPagesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages", 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/identity/b2xuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.java index e2cbcfeba65..29d6eb762cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/defaultpages/item/UserFlowLanguagePageItemRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%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 UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/defaultPages/{userFlowLanguagePage%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/identity/b2xuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java index c83811baee0..12777ca80d4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/overridespages/OverridesPagesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages", 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/identity/b2xuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java index 60f617408df..b5b022ead85 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/languages/item/overridespages/item/UserFlowLanguagePageItemRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%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 UserFlowLanguagePage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/languages/{userFlowLanguageConfiguration%2Did}/overridesPages/{userFlowLanguagePage%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/identity/b2xuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java index 47948b38c33..ec4fa3be6a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userattributeassignments/UserAttributeAssignmentsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityUserFlowAttributeAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userAttributeAssignments", 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/identity/b2xuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.java index 5affb3a11a1..f7967b791c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userattributeassignments/item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userAttributeAssignments/{identityUserFlowAttributeAssignment%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 IdentityUserFlowAttributeAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userAttributeAssignments/{identityUserFlowAttributeAssignment%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/identity/b2xuserflows/item/userflowidentityproviders/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userflowidentityproviders/ref/RefRequestBuilder.java index 88d5308099a..350ba4ce043 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userflowidentityproviders/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/b2xuserflows/item/userflowidentityproviders/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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$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}/identity/b2xUserFlows/{b2xIdentityUserFlow%2Did}/userFlowIdentityProviders/$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/identity/conditionalaccess/authenticationcontextclassreferences/AuthenticationContextClassReferencesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationcontextclassreferences/AuthenticationContextClassReferencesRequestBuilder.java index b3f4fc17d48..fa9dfe32155 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationcontextclassreferences/AuthenticationContextClassReferencesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationcontextclassreferences/AuthenticationContextClassReferencesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationContextClassReference body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/authenticationContextClassReferences", 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/identity/conditionalaccess/authenticationcontextclassreferences/item/AuthenticationContextClassReferenceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationcontextclassreferences/item/AuthenticationContextClassReferenceItemRequestBuilder.java index c7cb987f4e2..e4597a6df7c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationcontextclassreferences/item/AuthenticationContextClassReferenceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationcontextclassreferences/item/AuthenticationContextClassReferenceItemRequestBuilder.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}/identity/conditionalAccess/authenticationContextClassReferences/{authenticationContextClassReference%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 AuthenticationContextClassReference body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationContextClassReferences/{authenticationContextClassReference%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/identity/conditionalaccess/authenticationstrength/AuthenticationStrengthRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/AuthenticationStrengthRequestBuilder.java index 6c7a247bba8..6561ecaa1af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/AuthenticationStrengthRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/AuthenticationStrengthRequestBuilder.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}/identity/conditionalAccess/authenticationStrength", 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 AuthenticationStrengthRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrength", 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/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java index a32b334b1b7..daf15d617ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationMethodModeDetail body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/authenticationStrength/authenticationMethodModes", 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/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.java index 31ce6dac76a..cf6f2dc851b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.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}/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/{authenticationMethodModeDetail%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 AuthenticationMethodModeDetail body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrength/authenticationMethodModes/{authenticationMethodModeDetail%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/identity/conditionalaccess/authenticationstrength/policies/PoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/PoliciesRequestBuilder.java index 01fa8130a89..182fd61f648 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/PoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/PoliciesRequestBuilder.java @@ -158,7 +158,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationStrengthPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/authenticationStrength/policies", 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/identity/conditionalaccess/authenticationstrength/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.java index 0bca1c96c59..98cd4b16531 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.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}/identity/conditionalAccess/authenticationStrength/policies/{authenticationStrengthPolicy%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 AuthenticationStrengthPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrength/policies/{authenticationStrengthPolicy%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/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java index 0bae18d4a0e..1301dd0730b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationCombinationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/authenticationStrength/policies/{authenticationStrengthPolicy%2Did}/combinationConfigurations", 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/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.java index 900e88d2b1d..c140e5328d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrength/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.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}/identity/conditionalAccess/authenticationStrength/policies/{authenticationStrengthPolicy%2Did}/combinationConfigurations/{authenticationCombinationConfiguration%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 AuthenticationCombinationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrength/policies/{authenticationStrengthPolicy%2Did}/combinationConfigurations/{authenticationCombinationConfiguration%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/identity/conditionalaccess/authenticationstrengths/AuthenticationStrengthsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/AuthenticationStrengthsRequestBuilder.java index 703501fbb58..bdb50fa6365 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/AuthenticationStrengthsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/AuthenticationStrengthsRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identity/conditionalAccess/authenticationStrengths", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -219,7 +219,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AuthenticationStrengthRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrengths", 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/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java index 724e0c107b6..f6646a5eb7a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/AuthenticationMethodModesRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationMethodModeDetail body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/authenticationMethodModes", 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/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.java index 5dddb31aefb..51c7cddd6fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/authenticationmethodmodes/item/AuthenticationMethodModeDetailItemRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/authenticationMethodModes/{authenticationMethodModeDetail%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AuthenticationMethodModeDetail body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/authenticationMethodModes/{authenticationMethodModeDetail%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/identity/conditionalaccess/authenticationstrengths/policies/PoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/PoliciesRequestBuilder.java index 20071085449..65b8639c321 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/PoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/PoliciesRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationStrengthPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/policies", 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/identity/conditionalaccess/authenticationstrengths/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.java index 3e9c2ea02e2..4df563d0b61 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/AuthenticationStrengthPolicyItemRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/policies/{authenticationStrengthPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AuthenticationStrengthPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/policies/{authenticationStrengthPolicy%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/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java index fe8e3aca5c1..884f43904f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/CombinationConfigurationsRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AuthenticationCombinationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/policies/{authenticationStrengthPolicy%2Did}/combinationConfigurations", 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/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.java index 00695c23783..091127904d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/authenticationstrengths/policies/item/combinationconfigurations/item/AuthenticationCombinationConfigurationItemRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/policies/{authenticationStrengthPolicy%2Did}/combinationConfigurations/{authenticationCombinationConfiguration%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -201,7 +201,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AuthenticationCombinationConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/authenticationStrengths/policies/{authenticationStrengthPolicy%2Did}/combinationConfigurations/{authenticationCombinationConfiguration%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/identity/conditionalaccess/namedlocations/NamedLocationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/namedlocations/NamedLocationsRequestBuilder.java index 3d82a7a9035..b25cc44fee2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/namedlocations/NamedLocationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/namedlocations/NamedLocationsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final NamedLocation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/namedLocations", 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/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java index 469f526a86d..7d277dad429 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/namedlocations/item/NamedLocationItemRequestBuilder.java @@ -37,18 +37,18 @@ public NamedLocationItemRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a countryNamedLocation object. + * Delete an ipNamedLocation 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 a countryNamedLocation object. + * Delete an ipNamedLocation 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); @@ -108,7 +108,7 @@ public NamedLocation patch(@jakarta.annotation.Nonnull final NamedLocation body, return this.requestAdapter.send(requestInfo, errorMapping, NamedLocation::createFromDiscriminatorValue); } /** - * Delete a countryNamedLocation object. + * Delete an ipNamedLocation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -116,13 +116,13 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a countryNamedLocation object. + * Delete an ipNamedLocation 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}/identity/conditionalAccess/namedLocations/{namedLocation%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 NamedLocation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/namedLocations/{namedLocation%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/identity/conditionalaccess/policies/PoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/policies/PoliciesRequestBuilder.java index 3e04d790548..d916c622925 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/policies/PoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/policies/PoliciesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConditionalAccessPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/conditionalAccess/policies", 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/identity/conditionalaccess/policies/item/ConditionalAccessPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/policies/item/ConditionalAccessPolicyItemRequestBuilder.java index 618d3bfe144..e32a240cad5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/policies/item/ConditionalAccessPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/conditionalaccess/policies/item/ConditionalAccessPolicyItemRequestBuilder.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}/identity/conditionalAccess/policies/{conditionalAccessPolicy%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 ConditionalAccessPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/conditionalAccess/policies/{conditionalAccessPolicy%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/identity/continuousaccessevaluationpolicy/ContinuousAccessEvaluationPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/continuousaccessevaluationpolicy/ContinuousAccessEvaluationPolicyRequestBuilder.java index 7d23dc6cccf..5efca096907 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/continuousaccessevaluationpolicy/ContinuousAccessEvaluationPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/continuousaccessevaluationpolicy/ContinuousAccessEvaluationPolicyRequestBuilder.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}/identity/continuousAccessEvaluationPolicy", 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 ContinuousAccessEvaluationPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/continuousAccessEvaluationPolicy", 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/identity/customauthenticationextensions/CustomAuthenticationExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/CustomAuthenticationExtensionsRequestBuilder.java index bb2fb7a03e6..33f44f1e802 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/CustomAuthenticationExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/CustomAuthenticationExtensionsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomAuthenticationExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/customAuthenticationExtensions", 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/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java index 8836f2e71a4..9221725eed0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java @@ -66,21 +66,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 a customAuthenticationExtension object. + * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. * @return a {@link CustomAuthenticationExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomAuthenticationExtension get() { return get(null); } /** - * Read the properties and relationships of a customAuthenticationExtension object. + * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomAuthenticationExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomAuthenticationExtension get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -129,13 +129,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}/identity/customAuthenticationExtensions/{customAuthenticationExtension%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 a customAuthenticationExtension object. + * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -143,7 +143,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a customAuthenticationExtension object. + * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomAuthenticationExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/customAuthenticationExtensions/{customAuthenticationExtension%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); @@ -195,7 +195,7 @@ public CustomAuthenticationExtensionItemRequestBuilder withUrl(@jakarta.annotati public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a customAuthenticationExtension object. + * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/identityproviders/IdentityProvidersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/identityproviders/IdentityProvidersRequestBuilder.java index 4f98e81da87..2c89c5f2e5c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/identityproviders/IdentityProvidersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/identityproviders/IdentityProvidersRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityProviderBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/identityProviders", 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/identity/identityproviders/item/IdentityProviderBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/identityproviders/item/IdentityProviderBaseItemRequestBuilder.java index 5e0c64ce9aa..7fb94efcee3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/identityproviders/item/IdentityProviderBaseItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/identityproviders/item/IdentityProviderBaseItemRequestBuilder.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}/identity/identityProviders/{identityProviderBase%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 IdentityProviderBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/identityProviders/{identityProviderBase%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/identity/userflowattributes/UserFlowAttributesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/userflowattributes/UserFlowAttributesRequestBuilder.java index 3c9f62472e4..cfad3ce7886 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/userflowattributes/UserFlowAttributesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/userflowattributes/UserFlowAttributesRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityUserFlowAttribute body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/userFlowAttributes", 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/identity/userflowattributes/item/IdentityUserFlowAttributeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/userflowattributes/item/IdentityUserFlowAttributeItemRequestBuilder.java index 7d0c28794bc..49bce2e9c0a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/userflowattributes/item/IdentityUserFlowAttributeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/userflowattributes/item/IdentityUserFlowAttributeItemRequestBuilder.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}/identity/userFlowAttributes/{identityUserFlowAttribute%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 IdentityUserFlowAttribute body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/userFlowAttributes/{identityUserFlowAttribute%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/identity/userflows/UserFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/userflows/UserFlowsRequestBuilder.java index db4540696a5..462c1d10080 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/userflows/UserFlowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/userflows/UserFlowsRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityUserFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identity/userFlows", 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/identity/userflows/item/IdentityUserFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/userflows/item/IdentityUserFlowItemRequestBuilder.java index be3b143de7f..0abc3684fb7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/userflows/item/IdentityUserFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/userflows/item/IdentityUserFlowItemRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identity/userFlows/{identityUserFlow%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -199,7 +199,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityUserFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identity/userFlows/{identityUserFlow%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/identitygovernance/IdentityGovernanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/IdentityGovernanceRequestBuilder.java index 55e07a66cb0..4b3080491a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/IdentityGovernanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/IdentityGovernanceRequestBuilder.java @@ -202,7 +202,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityGovernance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance", 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/identitygovernance/accessreviews/AccessReviewsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/AccessReviewsRequestBuilder.java index 3a11154cdbc..e5ba5abe15e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/AccessReviewsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/AccessReviewsRequestBuilder.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}/identityGovernance/accessReviews", 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 AccessReviewSet body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews", 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/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java index 798c07b101b..57b67d362d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/DecisionsRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/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/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 619e09cfbf9..f512813ced0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%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 AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%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/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java index 56cc235d279..fef165fb883 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/InsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/insights", 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/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index caa079f5edd..861d49ad199 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/insights/{governanceInsight%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 GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/insights/{governanceInsight%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/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java index 8e17a6acb42..7d593d8a082 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/InstanceRequestBuilder.java @@ -215,7 +215,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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -258,7 +258,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance", 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/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 3764bc53a8b..54738cccd16 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -146,7 +146,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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers", 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/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 231da684021..4a82d9b7d9a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers/{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; @@ -159,7 +159,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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers/{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/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java index f6b8016b5f6..cdf20dd6216 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/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/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 34a4a7dbb00..38c4ee73489 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}", 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 AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index d57dfd83cf3..e5d0d8a72a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights", 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/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 5401aba6f48..bf8f02c12e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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 GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java index 32278c09130..f1508268290 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/StagesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages", 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/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index 161dc0f4bc1..c4c17ec1007 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -138,7 +138,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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%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/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index c746d2a7163..7ede5d04da0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%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/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 2fea37c1f5b..1efbeb6bc02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -129,7 +129,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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index 4769959fb22..0b44c709613 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights", 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/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 078046ed48c..4278acdb43a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.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}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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 GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java index c33905a2e34..98c02bb81c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/DefinitionsRequestBuilder.java @@ -159,7 +159,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions", 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/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java index a20c68884a2..3ad25640c79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/AccessReviewScheduleDefinitionItemRequestBuilder.java @@ -138,7 +138,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @jakarta.annotation.Nonnull public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final AccessReviewScheduleDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setContentFromParsable(requestAdapter, "application/json", body); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java index 962901038b6..6f57a46a0e5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/InstancesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java index 83d6abcb6fd..266634444ab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/AccessReviewInstanceItemRequestBuilder.java @@ -219,7 +219,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -262,7 +262,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%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/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java index 038ea035097..68924eb5ebe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -146,7 +146,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/contactedReviewers", 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/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 65740fba534..a706ea34247 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/contactedReviewers/{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; @@ -159,7 +159,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/contactedReviewers/{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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java index c5a0ffd6bdd..6b0f35eb06e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/DecisionsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index 19a0c9b08f2..bd30e64d98a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%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 AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java index 67eb88be991..e2694717203 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/InsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/insights", 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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index a1b42e09671..c55e85c3244 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/insights/{governanceInsight%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 GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/insights/{governanceInsight%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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java index a539a460d97..2d57194f4c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/InstanceRequestBuilder.java @@ -206,7 +206,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -249,7 +249,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance", 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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index d73014e8ca4..286b710c9fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -146,7 +146,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers", 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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 201719d45fa..dfed45050e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers/{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; @@ -159,7 +159,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers/{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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java index 74bd7b77bf5..05cf5891ddc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/StagesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages", 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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java index 411035525fb..88551027b8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/AccessReviewStageItemRequestBuilder.java @@ -138,7 +138,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java index 11c29c24b41..1ad148eb368 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/DecisionsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index b4bec5f40e1..64054cb7678 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -129,7 +129,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -172,7 +172,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java index 6b53b7537dd..f39b84f6e06 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights", 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/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index 4d2cf9fd7de..97d5009c2e8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/decisions/item/instance/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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 GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java index c4f81e25d6f..6701464dc3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/StagesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages", 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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java index ddf20ba7356..07590331299 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/AccessReviewStageItemRequestBuilder.java @@ -138,7 +138,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewStage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java index 7612abc01ef..66c880a46d0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/DecisionsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index c9592070dbb..87da818826d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java @@ -138,7 +138,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -181,7 +181,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java index e12d5b8ed06..092846e1e03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/InsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/insights", 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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index f73c4e260be..bd7121cc843 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/insights/{governanceInsight%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 GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/insights/{governanceInsight%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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java index 24ce625b092..eb44d8ab8a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/InstanceRequestBuilder.java @@ -206,7 +206,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -249,7 +249,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance", 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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java index 19a2a093b24..71446f3cb81 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/ContactedReviewersRequestBuilder.java @@ -146,7 +146,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers", 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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java index 3b76d842880..17dc57e3f9d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/contactedreviewers/item/AccessReviewReviewerItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers/{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; @@ -159,7 +159,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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/contactedReviewers/{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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java index 53556bb9464..d727b531dee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/DecisionsRequestBuilder.java @@ -166,7 +166,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java index fcb05e7de3b..1239cc9f437 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/AccessReviewInstanceDecisionItemItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}", 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 AccessReviewInstanceDecisionItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java index f40a46ae54d..90dae895589 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/InsightsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights", 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/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java index c789e72b092..e8e74084e13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/definitions/item/instances/item/stages/item/decisions/item/instance/decisions/item/insights/item/GovernanceInsightItemRequestBuilder.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}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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 GovernanceInsight body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/stages/{accessReviewStage%2Did}/decisions/{accessReviewInstanceDecisionItem%2Did}/instance/decisions/{accessReviewInstanceDecisionItem%2Did1}/insights/{governanceInsight%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/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java index 475ae0599d8..614b775b09d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/HistoryDefinitionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/historyDefinitions", 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/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.java index eeff3d5ec21..0a37a2ffa41 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/AccessReviewHistoryDefinitionItemRequestBuilder.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}/identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinition%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 AccessReviewHistoryDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinition%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/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java index 017771827b7..d9cd5b6800b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/InstancesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessReviewHistoryInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinition%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.java index 8f169b0fd6c..6ca1be4baa4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/historydefinitions/item/instances/item/AccessReviewHistoryInstanceItemRequestBuilder.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}/identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinition%2Did}/instances/{accessReviewHistoryInstance%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 AccessReviewHistoryInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinition%2Did}/instances/{accessReviewHistoryInstance%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/identitygovernance/accessreviews/policy/PolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/policy/PolicyRequestBuilder.java index 950f8bc8be7..5258c57ce8b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/policy/PolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/accessreviews/policy/PolicyRequestBuilder.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}/identityGovernance/accessReviews/policy", 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 AccessReviewPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/accessReviews/policy", 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/identitygovernance/appconsent/AppConsentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/AppConsentRequestBuilder.java index 7781395f192..6313c8fad93 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/AppConsentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/AppConsentRequestBuilder.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}/identityGovernance/appConsent", 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 AppConsentApprovalRoute body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/appConsent", 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/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java index 5088d88d3c6..5060ce56c77 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/AppConsentRequestsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AppConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/appConsent/appConsentRequests", 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/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.java index cf2f5840838..16787a72f72 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/AppConsentRequestItemRequestBuilder.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}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%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 AppConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%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/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java index 1872b39992a..f90f18d53c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/UserConsentRequestsRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UserConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests", 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/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.java index c83f2abf905..dd768fd5d3e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/UserConsentRequestItemRequestBuilder.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}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%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 UserConsentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%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/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.java index 25cc7ece5e2..e9142bb3a53 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/ApprovalRequestBuilder.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}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%2Did}/approval", 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 Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%2Did}/approval", 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/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java index b069497f3c0..b82c3033eb6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/StepsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%2Did}/approval/steps", 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/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.java index 16dffa09651..49dc5e1e804 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/appconsent/appconsentrequests/item/userconsentrequests/item/approval/steps/item/ApprovalStepItemRequestBuilder.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}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%2Did}/approval/steps/{approvalStep%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 ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/appConsent/appConsentRequests/{appConsentRequest%2Did}/userConsentRequests/{userConsentRequest%2Did}/approval/steps/{approvalStep%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/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java index 324adfc4f09..371383502af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/EntitlementManagementRequestBuilder.java @@ -262,7 +262,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}/identityGovernance/entitlementManagement", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -305,7 +305,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EntitlementManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement", 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/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java index 44c4d3c491c..38a8dac97f6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/AccessPackageAssignmentApprovalsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals", 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/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.java index 81ce439dd99..645753c9f2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/ApprovalItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/{approval%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 Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/{approval%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/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java index f4cba6ab9ff..7b9bc7ccca4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/StepsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/{approval%2Did}/steps", 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/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java index b5fefb15fb0..a5bb5d28401 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/{approval%2Did}/steps/{approvalStep%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 ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/{approval%2Did}/steps/{approvalStep%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/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java index 2e82f1b06d8..7e10c7a4bd9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies", 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/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java index 785a34db4c5..4c33cffed5d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java @@ -192,7 +192,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -247,7 +247,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi @Deprecated public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PUT, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PutRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); requestInfo.setContentFromParsable(requestAdapter, "application/json", body); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java index 554e4da6504..6aa6227b167 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers", 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/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java index 57c1c6ca6ec..63216e52f0d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers/{customExtensionHandler%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers/{customExtensionHandler%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/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java index d55d9310eb5..39bd88b9023 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings", 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/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java index b988e149d20..95203ba6126 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings/{customExtensionStageSetting%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings/{customExtensionStageSetting%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/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java index de4ad0deaa1..d95db381740 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java @@ -192,7 +192,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentRequests", 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/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java index 9ae2ca54ee7..5c57fad5ef2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java @@ -216,7 +216,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -271,7 +271,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%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/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java index 48a67974241..c4deedbe83d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%2Did}/requestor", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%2Did}/requestor", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java index fc8eb92700b..ec7ac3a42cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java index 02f9023a237..d1943c67b7f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%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 AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index 8fd6cb5d122..ce0f195a1f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole", 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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index 8d7985888ef..f0bb004e522 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 3d0e52bc020..66f5ddc3c77 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index ef9dde1a750..9eca7f37226 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 07161cff44a..844bbd371ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 2f9d77ccb23..60859c17d5c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 5f71e072cc0..cbc01365545 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 7683864d445..66a2947357f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index c1751c07adb..fec5b9f71eb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index 861daba2642..2f9827f0eea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope", 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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index 696c4b9aa92..8fd7828bf44 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 5056ebb1c21..2df93126b59 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 4694844e28d..cefd3d482a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index c34d44bdb07..b797a1d4137 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 54191909a2d..bb3f3aca52a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index d4a3ad28c9e..a02af2a81c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 6cd587ba853..0a35576a683 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index f1f105209da..8d48b511db9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java index 13a727ca100..ed14c913f3c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageSubject", 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 AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageSubject", 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/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java index 7298be1435c..101ba6920c6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/AccessPackageAssignmentsRequestBuilder.java @@ -179,7 +179,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java index 1fc5de6414f..368ae760dd0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/AccessPackageAssignmentItemRequestBuilder.java @@ -170,7 +170,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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java index d1e2f4b90b1..df7d8f882cd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/AccessPackageRequestBuilder.java @@ -188,7 +188,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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java index be4b53bf785..69f9094d95f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java index 5ff246b7407..700ec54fa5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -243,7 +243,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java index 487101f2642..109bc083ecf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java index febbc75ca05..7af75440156 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers/{customExtensionHandler%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers/{customExtensionHandler%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java index eddc8af501a..fb9fa721906 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java index 03860c8b0b8..bdae4f3eb6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings/{customExtensionStageSetting%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings/{customExtensionStageSetting%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java index 89f2949698f..a0dedbc4cab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java index cd3306c3453..7d0200dda86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%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 AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index 25022894787..16ec622d26c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole", 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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index 7878fb5eb25..c3099a49afd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 37be88ee7fd..fc34490312c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 1aa6f7ae0ad..6f4c3412212 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 27d9fd86451..689bff1a3a5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 27b38e5a709..f441c7832f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index a3cc11a2b70..09736c8d2b0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 63601d0378d..919cec08f2e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 23a8f217b33..42c23bb859b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index 3260c68f625..ce679334c64 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope", 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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index 9751e38a72a..0239be8d5ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index ce2b7fbb8a4..b4ff6aa48df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index ec4ed44dbae..53a93971e91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index cecda4eb7b0..9f6cea0108b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 7331cc57e69..021d19941f2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 63f611641e2..c2c2046aeb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 488d7882540..6ad5240717d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index fa3e242ec71..ff6fe5eacf7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/ref/RefRequestBuilder.java index 8331f2a45ad..e027803a7ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatibleaccesspackages/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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleAccessPackages/$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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/ref/RefRequestBuilder.java index bc59b57d609..f2cdcd64257 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackage/incompatiblegroups/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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackage/incompatibleGroups/$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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/AccessPackageAssignmentPolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/AccessPackageAssignmentPolicyRequestBuilder.java index 1a217e5b947..faac0de1f55 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/AccessPackageAssignmentPolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/AccessPackageAssignmentPolicyRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -243,7 +243,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java index 5a27dd7c90f..6eb6d4a7a8d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy/customExtensionHandlers", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java index 5e25f8c0988..8acddb76a39 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy/customExtensionHandlers/{customExtensionHandler%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy/customExtensionHandlers/{customExtensionHandler%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java index 0aae641beea..bd152c161bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy/customExtensionStageSettings", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java index c23264ec9d2..020796cef8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentpolicy/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy/customExtensionStageSettings/{customExtensionStageSetting%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentPolicy/customExtensionStageSettings/{customExtensionStageSetting%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java index 1c8c0106804..e5bab8b426f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/AccessPackageAssignmentRequestsRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentRequests", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java index f731c5a14c2..fc4ce39e0de 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java @@ -212,7 +212,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java index 7de03b2c5c7..61e8289c23c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentrequests/item/requestor/RequestorRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%2Did}/requestor", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentRequests/{accessPackageAssignmentRequest%2Did}/requestor", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java index 47cd5c25d58..37402ba67c8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/AccessPackageAssignmentResourceRolesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java index 96877761da5..9be6747462c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/AccessPackageAssignmentResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%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 AccessPackageAssignmentResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index 21c68002bf0..3f2097a27fb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole", 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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index 509e60a6431..7a036dad09f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 926ca0d7e94..7ba491cb292 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index e776f165af8..2265fcaa7b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 1744f6e32b5..20bf7520e03 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index f5efdf40962..0fbfb8c2484 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 71ee16218ce..8f58fe75708 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 2a5072cdeae..48fc7f6314a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 2228ee23dfe..d9cd376dddd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index 5108d3da7a5..6ec9bbf4f98 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope", 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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index 1d67919243e..0cda6329d33 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 4c5fc40974d..554310625f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 7f168512927..7c89ba9ef97 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 20c66153cbd..35ce3c8b9c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 8ef89d879c7..50d6e505cc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 665ca156cde..5ca1317c942 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index e76c5b3003c..6b8662e0932 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index ee9c05ebb6b..715118e911c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java index 3ceabde7127..8319dce3666 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/accesspackageassignmentresourceroles/item/accesspackagesubject/AccessPackageSubjectRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageSubject", 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 AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/accessPackageAssignmentResourceRoles/{accessPackageAssignmentResourceRole%2Did}/accessPackageSubject", 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/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.java index 66ca3cbed86..47ba5a076e2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageassignments/item/target/TargetRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/target", 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 AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageAssignments/{accessPackageAssignment%2Did}/target", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/AccessPackageCatalogsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/AccessPackageCatalogsRequestBuilder.java index ebf1bbd59f9..6e5264d8795 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/AccessPackageCatalogsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/AccessPackageCatalogsRequestBuilder.java @@ -190,7 +190,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageCatalog body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/AccessPackageCatalogItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/AccessPackageCatalogItemRequestBuilder.java index 5e45d465ef5..5a9f4ab9694 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/AccessPackageCatalogItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/AccessPackageCatalogItemRequestBuilder.java @@ -218,7 +218,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -273,7 +273,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageCatalog body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/AccessPackageCustomWorkflowExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/AccessPackageCustomWorkflowExtensionsRequestBuilder.java index a8db37b030b..dfb1fa68fcb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/AccessPackageCustomWorkflowExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/AccessPackageCustomWorkflowExtensionsRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomCalloutExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageCustomWorkflowExtensions", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java index b2cb1c90bb9..79410061440 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageCustomWorkflowExtensions/{customCalloutExtension%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -199,7 +199,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomCalloutExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageCustomWorkflowExtensions/{customCalloutExtension%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 28fa81f08cb..bc7e9953a25 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 0c9a29f6c75..cb2e12172c0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index cf7b510bf16..725f6a1697b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -243,7 +243,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 9d32a8ba6cb..57e651b8dd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index bc70bab4a25..d391d8efcf9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did1}", 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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index e63e2b88876..9fceea2f982 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 13d3cc78da2..bfb40409bbb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 3f723c02cbc..a92520880c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index af25484217e..29f83b02270 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 368a2f7d5e7..611f2da52e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did1}", 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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java index 4804bc57de0..a08d91b796c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/AccessPackageResourcesRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java index b89321a5fc6..daf5f9f5697 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -243,7 +243,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index a9a63704382..b94dbf22f49 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 5c5d655f9e4..a2113218c70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 6c5d640ebb4..198f7eeee6f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 6f97e2e1be2..eeb52d5c6b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index a992b454d9f..88a2aa0ebf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 85b19935f3e..2e0d5d1dead 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -219,7 +219,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index e987ee219a5..00b6c3f8557 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 488f1f3e70e..02fde8742d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 61e8095d01c..89a861a4e81 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index e7c46cac908..8a630d754d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 073499dd9f6..37620ddfed5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 4ee95803594..798073dfc71 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -219,7 +219,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index f95f4c7ff92..b529ab69dc8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index a1a34fc0501..cc4e1d5e4a2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 7a5ba4457e9..9ed3f68413e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -243,7 +243,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 91278f74d06..ea5b5116868 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 9404778a5e3..5103c94b423 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 13b7d499d0b..482d542ca95 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java @@ -176,7 +176,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 3d3b3f5b7ea..06e2418657c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index dfa931ce95a..6c43b6b4ecd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did1}", 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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index e8aecd6a048..8bd33adb9ed 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index d8c6d9a70a5..fc8002c59dc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did1}", 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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/CustomAccessPackageWorkflowExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/CustomAccessPackageWorkflowExtensionsRequestBuilder.java index b6b68d9401b..4b86eb8e63a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/CustomAccessPackageWorkflowExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/CustomAccessPackageWorkflowExtensionsRequestBuilder.java @@ -178,7 +178,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomAccessPackageWorkflowExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/customAccessPackageWorkflowExtensions", 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/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java index bbb7f7cdb60..099b00144af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java @@ -37,23 +37,23 @@ public CustomAccessPackageWorkflowExtensionItemRequestBuilder(@jakarta.annotatio super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/customAccessPackageWorkflowExtensions/{customAccessPackageWorkflowExtension%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions - * @see Find more info here + * @see Find more info here */ @Deprecated public void delete() { delete(null); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions - * @see Find more info here + * @see Find more info here */ @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public CustomAccessPackageWorkflowExtension patch(@jakarta.annotation.Nonnull fi return this.requestAdapter.send(requestInfo, errorMapping, CustomAccessPackageWorkflowExtension::createFromDiscriminatorValue); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @return a {@link RequestInformation} * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions @@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated @@ -146,7 +146,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/customAccessPackageWorkflowExtensions/{customAccessPackageWorkflowExtension%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -201,7 +201,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomAccessPackageWorkflowExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/customAccessPackageWorkflowExtensions/{customAccessPackageWorkflowExtension%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/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java index 8b58fe6c2d8..ebcd0a0aad9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/AccessPackageResourceEnvironmentsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceEnvironment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceEnvironments", 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/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.java index f847e8b41d3..06cc1bc6d02 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourceenvironments/item/AccessPackageResourceEnvironmentItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceEnvironments/{accessPackageResourceEnvironment%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 AccessPackageResourceEnvironment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceEnvironments/{accessPackageResourceEnvironment%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/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java index 7e184320b20..865b402d0f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/AccessPackageResourceRequestsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRequests", 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/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.java index b54082ff05f..f4b1a854136 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/AccessPackageResourceRequestItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRequests/{accessPackageResourceRequest%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 AccessPackageResourceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRequests/{accessPackageResourceRequest%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/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.java index 5471bfd5149..24680c1200c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerequests/item/requestor/RequestorRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRequests/{accessPackageResourceRequest%2Did}/requestor", 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 AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRequests/{accessPackageResourceRequest%2Did}/requestor", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java index d98d7f35dcb..9263636ee0d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java index e3971025c22..0d267105074 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%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 AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index 583bc6460e3..abd14ddaf64 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole", 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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index 6b914431589..4e5eef5815f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 3c797b3f9a5..a59208960d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 9d838c1a6ff..5c7a5fd3ac6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 554688c1ec1..0844bb0443b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index c04777c2bfc..6fe0c6324df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index a4e74716e6c..6ca6117f093 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index f6768ac0fdf..2d666ecf8ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index f61e7b4b2f2..51dda8ce9bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index e0c9061a97a..fa734d4ff2a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope", 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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index f3b09dfad87..1803da067f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 39ce1854077..ae143cc1cbb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 56c922a7d1f..942aab173fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 7928e049003..66e6f1c431e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 43997e23814..5def17e3bd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index a1221a986f9..55d56447f00 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index b75a57f7b9e..97a5c0ded26 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 185a1bac731..e30a04b5d95 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java index 5df0a19297a..3dd3a672bc1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/AccessPackageResourcesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java index c38c5c6cc27..b21dbd30faa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/AccessPackageResourceItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 11f70fa232e..5af90027471 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index d48a63ca5b1..32981f01cd5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index f8f536ed62e..c9d55048bb7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 99d2a1d166a..a6da4eab0e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 304538eab0a..53e0d6edddc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index c5080496ca8..9b3030334b9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 71d5800f195..dc299b17b54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 141a452c7ec..94eb07d4561 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 49e2bb21bcf..512819833cb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 46431f8c684..3107d6cdf7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 13d15d26965..2e0c36c8cc9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index fe4edaebc7d..94fb030b95f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageresources/item/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageResources/{accessPackageResource%2Did}/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java index 90d258277ed..0bdc05492ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/AccessPackagesRequestBuilder.java @@ -168,7 +168,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages", 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/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java index 2ffa20d1a06..d24073f86f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/AccessPackageItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%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 AccessPackage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java index 06edb4177fe..072c2d26fa9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/AccessPackageAssignmentPoliciesRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java index 50dc18ce01f..8efcab72913 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/AccessPackageAssignmentPolicyItemRequestBuilder.java @@ -188,7 +188,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -243,7 +243,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java index 7436d357ebc..fc94a915212 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/CustomExtensionHandlersRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java index 77cea00b363..6ef05e58725 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionhandlers/item/CustomExtensionHandlerItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers/{customExtensionHandler%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionHandler body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionHandlers/{customExtensionHandler%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java index d66ed411590..830a1de9f41 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/CustomExtensionStageSettingsRequestBuilder.java @@ -174,7 +174,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java index 027103875c6..e8603642230 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageassignmentpolicies/item/customextensionstagesettings/item/CustomExtensionStageSettingItemRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings/{customExtensionStageSetting%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CustomExtensionStageSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageAssignmentPolicies/{accessPackageAssignmentPolicy%2Did}/customExtensionStageSettings/{customExtensionStageSetting%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java index f2ea7905971..1ddcc6c6158 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/AccessPackageResourceRoleScopesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java index 24db70e7e03..3b19505d88a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/AccessPackageResourceRoleScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%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 AccessPackageResourceRoleScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java index b31e682df39..15b36de2ced 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/AccessPackageResourceRoleRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole", 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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java index cc923afdd0f..0b0576d0875 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 85fdac04950..efede61c35b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 78421e9419c..3f8bf949589 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index 36d1564a1df..18b38273a69 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index f01bc0c4742..ec954413855 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 281ea25540a..6cd2ee30b73 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 5ccd64a5b37..95d0e502098 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index e658f26bb7b..1763588f423 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcerole/accesspackageresource/accesspackageresourcescopes/item/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceRole/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%2Did}/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java index 320c33d1ceb..8bb24e3059f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/AccessPackageResourceScopeRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope", 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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java index 500ebb6f76e..35367940e71 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java index 1fc8ee0891e..fbbee64cfcd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/AccessPackageResourceRolesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java index 2caf8088e22..9707a73e874 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/AccessPackageResourceRoleItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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 AccessPackageResourceRole body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java index 7e0acac7971..1375ec97ec5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/AccessPackageResourceRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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 AccessPackageResource body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index f609ba5aa12..6d6a5b49707 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index 8d51dd899ef..18accd57c42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourceroles/item/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceRoles/{accessPackageResourceRole%2Did}/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java index cfdc4a5182e..951913ffdef 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/AccessPackageResourceScopesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes", 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/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java index d3beffe5013..7f1fb9f8793 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/accesspackageresourcerolescopes/item/accesspackageresourcescope/accesspackageresource/accesspackageresourcescopes/item/AccessPackageResourceScopeItemRequestBuilder.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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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 AccessPackageResourceScope body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/accessPackageResourceRoleScopes/{accessPackageResourceRoleScope%2Did}/accessPackageResourceScope/accessPackageResource/accessPackageResourceScopes/{accessPackageResourceScope%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/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/ref/RefRequestBuilder.java index 28ffec213fb..67332baa9e4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatibleaccesspackages/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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleAccessPackages/$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/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/ref/RefRequestBuilder.java index 674a7a7e007..bea1dd5efd8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackages/item/incompatiblegroups/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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$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}/identityGovernance/entitlementManagement/accessPackages/{accessPackage%2Did}/incompatibleGroups/$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/identitygovernance/entitlementmanagement/assignmentrequests/AssignmentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/AssignmentRequestsRequestBuilder.java index f2a39229a3f..a57d9df8bd2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/AssignmentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/AssignmentRequestsRequestBuilder.java @@ -192,7 +192,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/assignmentRequests", 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/identitygovernance/entitlementmanagement/assignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java index f34757e3a92..a08ae4860e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/item/AccessPackageAssignmentRequestItemRequestBuilder.java @@ -212,7 +212,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/assignmentRequests/{accessPackageAssignmentRequest%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageAssignmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/assignmentRequests/{accessPackageAssignmentRequest%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/identitygovernance/entitlementmanagement/assignmentrequests/item/requestor/RequestorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/item/requestor/RequestorRequestBuilder.java index cf87252980d..bab5eaeee10 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/item/requestor/RequestorRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/assignmentrequests/item/requestor/RequestorRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityGovernance/entitlementManagement/assignmentRequests/{accessPackageAssignmentRequest%2Did}/requestor", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/assignmentRequests/{accessPackageAssignmentRequest%2Did}/requestor", 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/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java index 3c4788e99ea..2b9dae4a8c9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/ConnectedOrganizationsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConnectedOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations", 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/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.java index 94a5b281d61..1b69dc693e6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/ConnectedOrganizationItemRequestBuilder.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}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%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 ConnectedOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%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/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ref/RefRequestBuilder.java index f052ce8e9c5..73670fc3b56 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/externalsponsors/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}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$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}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/externalSponsors/$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/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/ref/RefRequestBuilder.java index 8351d9e80b1..13f15ea2f40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/connectedorganizations/item/internalsponsors/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}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$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}/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganization%2Did}/internalSponsors/$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/identitygovernance/entitlementmanagement/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/settings/SettingsRequestBuilder.java index 1d3a56fa9a6..ef689549df5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/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}/identityGovernance/entitlementManagement/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 EntitlementManagementSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/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/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java index 2f39e310566..eaddf117751 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/SubjectsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/entitlementManagement/subjects", 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/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java index bcdaf791da4..46d7d5f3ebc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjects/item/AccessPackageSubjectItemRequestBuilder.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}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%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 AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/subjects/{accessPackageSubject%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/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java index abfcb5dab3c..08285a9545c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/subjectswithobjectid/SubjectsWithObjectIdRequestBuilder.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}/identityGovernance/entitlementManagement/subjects(objectId='{objectId}')", 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 AccessPackageSubject body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/entitlementManagement/subjects(objectId='{objectId}')", 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/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java index f5a81209f6d..0207b6235a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/LifecycleWorkflowsRequestBuilder.java @@ -170,7 +170,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}/identityGovernance/lifecycleWorkflows", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -213,7 +213,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecycleWorkflowsContainer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows", 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/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java index f1aa79a95e4..a8c3468652e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/CustomTaskExtensionsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CustomTaskExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/lifecycleWorkflows/customTaskExtensions", 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/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.java index fe8ded06b8c..d204429768d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/CustomTaskExtensionItemRequestBuilder.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}/identityGovernance/lifecycleWorkflows/customTaskExtensions/{customTaskExtension%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 CustomTaskExtension body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/customTaskExtensions/{customTaskExtension%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/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index dbad4fb0e8a..1dcd02b4291 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/customTaskExtensions/{customTaskExtension%2Did}/createdBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index 48f5bd4da81..5825ea68bc9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/customtaskextensions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/customTaskExtensions/{customTaskExtension%2Did}/lastModifiedBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java index 2ae5e0a1d80..a2e8e50df83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/DeletedItemsRequestBuilder.java @@ -100,7 +100,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}/identityGovernance/lifecycleWorkflows/deletedItems", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java index bd4a8d18b7c..988d691d130 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/WorkflowItemRequestBuilder.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index 2474a35ce98..585aa2a8ca9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/createdBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index 5d08475b40d..41b41917f9d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/lastModifiedBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 013fa36438c..7d62bdc530a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 219f4bcf15b..287568d29f9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index acb12a0042a..72e3dc6b7df 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index c33145c7d5e..9108089cae9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/taskReports/{taskReport%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java index 0e2ecdbafad..f8d141846b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/TasksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/tasks", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.java index a3526625d3a..34dad7de54e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/TaskItemRequestBuilder.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/tasks/{task%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 Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/tasks/{task%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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 2c49a21b499..761aa886ceb 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/tasks/{task%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index e52c1ff3b86..2e4d6548d4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index e77c165e738..573ecbb555e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index f64e1c528ee..c4c090c5a7b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/createdBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index dfd855827a4..6447874e150 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/lastModifiedBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java index 527c00e8014..9ddacac8894 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/TasksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks", 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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java index 4da8cb04f72..0dd4120559c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.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}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks/{task%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 Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks/{task%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/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 4655b103273..79c5f6f234c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/deleteditems/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/deletedItems/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks/{task%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java index 5bd8dcc4c11..8c331d17154 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/settings/SettingsRequestBuilder.java @@ -125,7 +125,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final LifecycleManagementSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/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/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java index 4b44379fdfb..171d67da238 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/WorkflowsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Workflow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows", 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/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java index e72fbb54ecc..00a4330f641 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/WorkflowItemRequestBuilder.java @@ -221,7 +221,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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -264,7 +264,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final Workflow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%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/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index fc7cac08cfd..1287b9a30fa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/createdBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index 29fcb29fa0b..6dc176190e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/lastModifiedBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index d5c66e7f5b9..5c1d42403ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 8d657d9baa6..cdd880b3f77 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 64e956dd31c..b30a086a09f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/runs/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/runs/{run%2Did}/userProcessingResults/{userProcessingResult%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 476b9765b03..a3d0d0cfb0f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/taskreports/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/taskReports/{taskReport%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java index c40786d16c8..56087ab53d9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/TasksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/tasks", 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/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.java index 02836f912c3..a900ed6b6ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/TaskItemRequestBuilder.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/tasks/{task%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 Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/tasks/{task%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/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index f4c0ebce44f..6d4a824f229 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/tasks/{task%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 5e3f2163e67..e1988a61915 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 98bc01b8622..7018dce8dbc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/userprocessingresults/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/userProcessingResults/{userProcessingResult%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java index 1acb86d8812..2676f5934c7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/createdby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/createdBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java index e915a253bdc..0ce3d6de662 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/lastmodifiedby/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/lastModifiedBy/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java index 182a6d28733..2f351ecdd70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/TasksRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks", 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/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java index 17bf679bb60..ddc8c69d326 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/TaskItemRequestBuilder.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}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks/{task%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 Task body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks/{task%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/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 4f3e1a6c08a..90cd5f31505 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflows/item/versions/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflows/{workflow%2Did}/versions/{workflowVersion%2DversionNumber}/tasks/{task%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java index 43b0939dad2..efdc0a4a8d7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/lifecycleworkflows/workflowtemplates/item/tasks/item/taskprocessingresults/item/subject/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/lifecycleWorkflows/workflowTemplates/{workflowTemplate%2Did}/tasks/{task%2Did}/taskProcessingResults/{taskProcessingResult%2Did}/subject/mailboxSettings", 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/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.java index 7a50f874fbe..083ff31bee0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/PermissionsAnalyticsRequestBuilder.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}/identityGovernance/permissionsAnalytics", 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 PermissionsAnalyticsAggregation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics", 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/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.java index 23f2c7dcaf4..5aee7ae9f47 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/AwsRequestBuilder.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}/identityGovernance/permissionsAnalytics/aws", 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 PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/aws", 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/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java index b184f882ea2..6b0a11337cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/FindingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsAnalytics/aws/findings", 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/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.java index 2eba35e138c..f39068ddd5c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/findings/item/FindingItemRequestBuilder.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}/identityGovernance/permissionsAnalytics/aws/findings/{finding%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 Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/aws/findings/{finding%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/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java index 570716b818e..81829f55f91 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsAnalytics/aws/permissionsCreepIndexDistributions", 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/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java index 09850c37552..641f466dd40 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/aws/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.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}/identityGovernance/permissionsAnalytics/aws/permissionsCreepIndexDistributions/{permissionsCreepIndexDistribution%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 PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/aws/permissionsCreepIndexDistributions/{permissionsCreepIndexDistribution%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/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.java index 78f9454f7eb..9bcd8caa8d8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/AzureRequestBuilder.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}/identityGovernance/permissionsAnalytics/azure", 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 PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/azure", 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/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java index dcee0b5e548..548ecdd9c9c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/FindingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsAnalytics/azure/findings", 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/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.java index 1c4ee4b174f..3761fdb2f63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/findings/item/FindingItemRequestBuilder.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}/identityGovernance/permissionsAnalytics/azure/findings/{finding%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 Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/azure/findings/{finding%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/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java index ac1a91698df..77572dc4978 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsAnalytics/azure/permissionsCreepIndexDistributions", 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/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java index b5f68e93a50..cdd3914fa63 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/azure/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.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}/identityGovernance/permissionsAnalytics/azure/permissionsCreepIndexDistributions/{permissionsCreepIndexDistribution%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 PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/azure/permissionsCreepIndexDistributions/{permissionsCreepIndexDistribution%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/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.java index 08f53f63b08..7838ccbec75 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/GcpRequestBuilder.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}/identityGovernance/permissionsAnalytics/gcp", 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 PermissionsAnalytics body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/gcp", 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/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java index 549e0c34659..1610dc670cf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/FindingsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsAnalytics/gcp/findings", 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/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.java index b2db95e5969..87f2bc96762 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/findings/item/FindingItemRequestBuilder.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}/identityGovernance/permissionsAnalytics/gcp/findings/{finding%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 Finding body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/gcp/findings/{finding%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/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java index 43ce90f3475..4919288f839 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/PermissionsCreepIndexDistributionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsAnalytics/gcp/permissionsCreepIndexDistributions", 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/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java index 7fb9d6a9abf..e69fbb7e8b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsanalytics/gcp/permissionscreepindexdistributions/item/PermissionsCreepIndexDistributionItemRequestBuilder.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}/identityGovernance/permissionsAnalytics/gcp/permissionsCreepIndexDistributions/{permissionsCreepIndexDistribution%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 PermissionsCreepIndexDistribution body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsAnalytics/gcp/permissionsCreepIndexDistributions/{permissionsCreepIndexDistribution%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/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.java index daee356e629..b7cb5fcddf2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/PermissionsManagementRequestBuilder.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}/identityGovernance/permissionsManagement", 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 PermissionsManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsManagement", 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/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java index d475722ed71..b54482af97b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/PermissionsRequestChangesRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PermissionsRequestChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsManagement/permissionsRequestChanges", 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/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.java index 26381aa3db8..fd4a0413d18 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/permissionsrequestchanges/item/PermissionsRequestChangeItemRequestBuilder.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}/identityGovernance/permissionsManagement/permissionsRequestChanges/{permissionsRequestChange%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 PermissionsRequestChange body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsManagement/permissionsRequestChanges/{permissionsRequestChange%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/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java index 85dfa494689..02f8746a38f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/ScheduledPermissionsApprovalsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsManagement/scheduledPermissionsApprovals", 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/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.java index 60949f1efbf..0f84336cc72 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/ApprovalItemRequestBuilder.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}/identityGovernance/permissionsManagement/scheduledPermissionsApprovals/{approval%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 Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsManagement/scheduledPermissionsApprovals/{approval%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/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java index 6851d47cb66..e64588de29d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/StepsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsManagement/scheduledPermissionsApprovals/{approval%2Did}/steps", 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/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java index c83cfaef6ec..34845852973 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsapprovals/item/steps/item/ApprovalStepItemRequestBuilder.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}/identityGovernance/permissionsManagement/scheduledPermissionsApprovals/{approval%2Did}/steps/{approvalStep%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 ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/permissionsManagement/scheduledPermissionsApprovals/{approval%2Did}/steps/{approvalStep%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/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java index 973be1fff6a..f592fa001f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/permissionsmanagement/scheduledpermissionsrequests/ScheduledPermissionsRequestsRequestBuilder.java @@ -135,7 +135,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ScheduledPermissionsRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/permissionsManagement/scheduledPermissionsRequests", 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/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java index 53ae595de38..d7c52df9f7c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.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}/identityGovernance/privilegedAccess", 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 PrivilegedAccessRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess", 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/identitygovernance/privilegedaccess/group/GroupRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/GroupRequestBuilder.java index 14691e00911..e4b21e2cb0e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/GroupRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/GroupRequestBuilder.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}/identityGovernance/privilegedAccess/group", 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 PrivilegedAccessGroup body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group", 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/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java index f7db0412a89..e92b2559461 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/AssignmentApprovalsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentApprovals", 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/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.java index 2d717e3cdfd..324707aa71f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/ApprovalItemRequestBuilder.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}/identityGovernance/privilegedAccess/group/assignmentApprovals/{approval%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 Approval body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentApprovals/{approval%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/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java index 3a708583af6..2c0a16b8125 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/StepsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentApprovals/{approval%2Did}/steps", 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/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java index 79ceb443338..9c2c77c1595 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentapprovals/item/steps/item/ApprovalStepItemRequestBuilder.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}/identityGovernance/privilegedAccess/group/assignmentApprovals/{approval%2Did}/steps/{approvalStep%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 ApprovalStep body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentApprovals/{approval%2Did}/steps/{approvalStep%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/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java index f276610ac88..fda9c2d239b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/AssignmentScheduleInstancesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleInstances", 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/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.java index dc414db8869..d3475c17a8a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentscheduleinstances/item/PrivilegedAccessGroupAssignmentScheduleInstanceItemRequestBuilder.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}/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/{privilegedAccessGroupAssignmentScheduleInstance%2Did}", 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 PrivilegedAccessGroupAssignmentScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleInstances/{privilegedAccessGroupAssignmentScheduleInstance%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/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java index cf7dd3c8b47..85ed5df0e3f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/AssignmentScheduleRequestsRequestBuilder.java @@ -159,7 +159,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleRequests", 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/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java index a95383f9c68..e87c9025dad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java @@ -163,7 +163,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}/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/{privilegedAccessGroupAssignmentScheduleRequest%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -206,7 +206,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/{privilegedAccessGroupAssignmentScheduleRequest%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/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java index 96e84a2f179..412bfb34e22 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/AssignmentSchedulesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupAssignmentSchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentSchedules", 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/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.java index 6a3dd1c2a74..aaa2c783640 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/assignmentschedules/item/PrivilegedAccessGroupAssignmentScheduleItemRequestBuilder.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}/identityGovernance/privilegedAccess/group/assignmentSchedules/{privilegedAccessGroupAssignmentSchedule%2Did}", 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 PrivilegedAccessGroupAssignmentSchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentSchedules/{privilegedAccessGroupAssignmentSchedule%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/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java index dcf9dfd9fc6..bbee1299ba9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/EligibilityScheduleInstancesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances", 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/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.java index e55d9c2d82e..8777a3da213 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityscheduleinstances/item/PrivilegedAccessGroupEligibilityScheduleInstanceItemRequestBuilder.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}/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/{privilegedAccessGroupEligibilityScheduleInstance%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 PrivilegedAccessGroupEligibilityScheduleInstance body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/eligibilityScheduleInstances/{privilegedAccessGroupEligibilityScheduleInstance%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/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java index 1462be7333a..326ee7baa95 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/EligibilityScheduleRequestsRequestBuilder.java @@ -159,7 +159,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilityScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests", 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/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.java index 3c6e0574e00..ce5167e4a96 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedulerequests/item/PrivilegedAccessGroupEligibilityScheduleRequestItemRequestBuilder.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}/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/{privilegedAccessGroupEligibilityScheduleRequest%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 PrivilegedAccessGroupEligibilityScheduleRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/eligibilityScheduleRequests/{privilegedAccessGroupEligibilityScheduleRequest%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/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java index cc19723befc..a6288bce401 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/EligibilitySchedulesRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final PrivilegedAccessGroupEligibilitySchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/privilegedAccess/group/eligibilitySchedules", 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/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.java index 04f40570a71..e42001e9f1b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/privilegedaccess/group/eligibilityschedules/item/PrivilegedAccessGroupEligibilityScheduleItemRequestBuilder.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}/identityGovernance/privilegedAccess/group/eligibilitySchedules/{privilegedAccessGroupEligibilitySchedule%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 PrivilegedAccessGroupEligibilitySchedule body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/privilegedAccess/group/eligibilitySchedules/{privilegedAccessGroupEligibilitySchedule%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/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.java index ab5d2762573..445827d3561 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/RoleManagementAlertsRequestBuilder.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}/identityGovernance/roleManagementAlerts", 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 RoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/roleManagementAlerts", 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/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java index 0b90d5508e3..6ccdc79d5c1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/AlertConfigurationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/roleManagementAlerts/alertConfigurations", 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/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.java index 1195424eefc..98c785057ad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertconfigurations/item/UnifiedRoleManagementAlertConfigurationItemRequestBuilder.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}/identityGovernance/roleManagementAlerts/alertConfigurations/{unifiedRoleManagementAlertConfiguration%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 UnifiedRoleManagementAlertConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/roleManagementAlerts/alertConfigurations/{unifiedRoleManagementAlertConfiguration%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/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java index e5aa19caa34..d47d1f8e07c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/AlertDefinitionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/roleManagementAlerts/alertDefinitions", 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/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.java index ca51bc411cf..36dacb02c2f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alertdefinitions/item/UnifiedRoleManagementAlertDefinitionItemRequestBuilder.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}/identityGovernance/roleManagementAlerts/alertDefinitions/{unifiedRoleManagementAlertDefinition%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 UnifiedRoleManagementAlertDefinition body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/roleManagementAlerts/alertDefinitions/{unifiedRoleManagementAlertDefinition%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/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java index 38d6c5f4875..31067cf3608 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/AlertsRequestBuilder.java @@ -155,7 +155,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/roleManagementAlerts/alerts", 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/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.java index c8c74769f92..9cd35c89dd1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/UnifiedRoleManagementAlertItemRequestBuilder.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}/identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlert%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 UnifiedRoleManagementAlert body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlert%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/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java index d6c70a24fa0..f9950074a12 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/AlertIncidentsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UnifiedRoleManagementAlertIncident body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlert%2Did}/alertIncidents", 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/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.java index 23aabee3fde..94132f91625 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/alerts/item/alertincidents/item/UnifiedRoleManagementAlertIncidentItemRequestBuilder.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}/identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlert%2Did}/alertIncidents/{unifiedRoleManagementAlertIncident%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 UnifiedRoleManagementAlertIncident body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/roleManagementAlerts/alerts/{unifiedRoleManagementAlert%2Did}/alertIncidents/{unifiedRoleManagementAlertIncident%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/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java index b5ba97c4959..8f754a94a70 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/OperationsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityGovernance/roleManagementAlerts/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/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.java index 02ff0829e40..48fccce3269 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/rolemanagementalerts/operations/item/LongRunningOperationItemRequestBuilder.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}/identityGovernance/roleManagementAlerts/operations/{longRunningOperation%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 LongRunningOperation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/roleManagementAlerts/operations/{longRunningOperation%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/identitygovernance/termsofuse/TermsOfUseRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/TermsOfUseRequestBuilder.java index 51fdd6b0197..a83fbd05e7f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/TermsOfUseRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/TermsOfUseRequestBuilder.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}/identityGovernance/termsOfUse", 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 TermsOfUseContainer body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityGovernance/termsOfUse", 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/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java index e7f6a673d19..4213aa16f5e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/AgreementAcceptancesRequestBuilder.java @@ -144,7 +144,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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java index 47821e5c20c..9304f481ce2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreementacceptances/item/AgreementAcceptanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java index ea84cb9232b..93a1d28f9f5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/AgreementsRequestBuilder.java @@ -148,7 +148,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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java index 44cee522ee9..6c31ebc43cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/AgreementItemRequestBuilder.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}/identityGovernance/termsOfUse/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; @@ -192,7 +192,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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/acceptances/AcceptancesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/AcceptancesRequestBuilder.java index 700989bcbad..cb6470b4f24 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/AcceptancesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java index 130941d2d11..d811df51030 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/acceptances/item/AgreementAcceptanceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/file/FileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/FileRequestBuilder.java index dad278f3b79..4c963b70fd7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/FileRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/file/localizations/LocalizationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/LocalizationsRequestBuilder.java index 001f242b4de..3b701da627d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/LocalizationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java index 6c7ee34de00..fbf06cdfada 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/AgreementFileLocalizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java index 2050ca3e1ae..7fda4415aad 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java index 73822595238..44c4623123e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/file/localizations/item/versions/item/AgreementFileVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/files/FilesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/FilesRequestBuilder.java index 4a47be011f3..34a9acb23f0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/FilesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java index a5010f7d129..e4a1f88f83e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/AgreementFileLocalizationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/files/item/versions/VersionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/VersionsRequestBuilder.java index 5b4ccfaf935..25bc3fcfa5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/VersionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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/identitygovernance/termsofuse/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java index 27849d184c0..7b914f694a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/agreements/item/files/item/versions/item/AgreementFileVersionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/termsofuse/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}/identityGovernance/termsOfUse/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}/identityGovernance/termsOfUse/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/identityprotection/IdentityProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/IdentityProtectionRequestBuilder.java index 5c23f073185..8858551fc3e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/IdentityProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/IdentityProtectionRequestBuilder.java @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityProtectionRoot body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProtection", 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/identityprotection/riskdetections/RiskDetectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/RiskDetectionsRequestBuilder.java index 404428a7aa0..b1d651cba6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/RiskDetectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/RiskDetectionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RiskDetection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityProtection/riskDetections", 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/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.java index 3f1be2c874c..16db6afba83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskdetections/item/RiskDetectionItemRequestBuilder.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}/identityProtection/riskDetections/{riskDetection%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 RiskDetection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProtection/riskDetections/{riskDetection%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/identityprotection/riskyserviceprincipals/RiskyServicePrincipalsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/RiskyServicePrincipalsRequestBuilder.java index a280913fdc3..8744f1b85bd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/RiskyServicePrincipalsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/RiskyServicePrincipalsRequestBuilder.java @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RiskyServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityProtection/riskyServicePrincipals", 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/identityprotection/riskyserviceprincipals/item/RiskyServicePrincipalItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/RiskyServicePrincipalItemRequestBuilder.java index 3b8753a0e09..27a4a64e787 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/RiskyServicePrincipalItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/RiskyServicePrincipalItemRequestBuilder.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}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%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 RiskyServicePrincipal body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%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/identityprotection/riskyserviceprincipals/item/history/HistoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/history/HistoryRequestBuilder.java index a77a3346c04..80745adc6aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/history/HistoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/history/HistoryRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RiskyServicePrincipalHistoryItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}/history", 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/identityprotection/riskyserviceprincipals/item/history/item/RiskyServicePrincipalHistoryItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/history/item/RiskyServicePrincipalHistoryItemItemRequestBuilder.java index 1ab87a981a6..c2faad8ddf7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/history/item/RiskyServicePrincipalHistoryItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyserviceprincipals/item/history/item/RiskyServicePrincipalHistoryItemItemRequestBuilder.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}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}/history/{riskyServicePrincipalHistoryItem%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 RiskyServicePrincipalHistoryItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProtection/riskyServicePrincipals/{riskyServicePrincipal%2Did}/history/{riskyServicePrincipalHistoryItem%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/identityprotection/riskyusers/RiskyUsersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/RiskyUsersRequestBuilder.java index 90550f9bd60..c762775e217 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/RiskyUsersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/RiskyUsersRequestBuilder.java @@ -78,21 +78,21 @@ public RiskyUsersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/identityProtection/riskyUsers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. * @return a {@link RiskyUserCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RiskyUserCollectionResponse get() { return get(null); } /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RiskyUserCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public RiskyUserCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -127,7 +127,7 @@ public RiskyUser post(@jakarta.annotation.Nonnull final RiskyUser body, @jakarta return this.requestAdapter.send(requestInfo, errorMapping, RiskyUser::createFromDiscriminatorValue); } /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -135,7 +135,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -164,7 +164,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RiskyUser body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityProtection/riskyUsers", 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); @@ -181,7 +181,7 @@ public RiskyUsersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new RiskyUsersRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve the properties and relationships of a collection of riskyUser objects. + * Retrieve the properties and relationships of a riskyUser object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/RiskyUserItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/RiskyUserItemRequestBuilder.java index 8ed5ce41363..6f2d818c9fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/RiskyUserItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/RiskyUserItemRequestBuilder.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}/identityProtection/riskyUsers/{riskyUser%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 RiskyUser body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProtection/riskyUsers/{riskyUser%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/identityprotection/riskyusers/item/history/HistoryRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/history/HistoryRequestBuilder.java index 584c97ca817..6d2342cb569 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/history/HistoryRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/history/HistoryRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RiskyUserHistoryItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history", 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/identityprotection/riskyusers/item/history/item/RiskyUserHistoryItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/history/item/RiskyUserHistoryItemItemRequestBuilder.java index fbc14f801e5..17fff3900ee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/history/item/RiskyUserHistoryItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/item/history/item/RiskyUserHistoryItemItemRequestBuilder.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}/identityProtection/riskyUsers/{riskyUser%2Did}/history/{riskyUserHistoryItem%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 RiskyUserHistoryItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProtection/riskyUsers/{riskyUser%2Did}/history/{riskyUserHistoryItem%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/identityprotection/serviceprincipalriskdetections/ServicePrincipalRiskDetectionsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/serviceprincipalriskdetections/ServicePrincipalRiskDetectionsRequestBuilder.java index 3bc76d49123..425ea0baff0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/serviceprincipalriskdetections/ServicePrincipalRiskDetectionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/serviceprincipalriskdetections/ServicePrincipalRiskDetectionsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ServicePrincipalRiskDetection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityProtection/servicePrincipalRiskDetections", 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/identityprotection/serviceprincipalriskdetections/item/ServicePrincipalRiskDetectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/serviceprincipalriskdetections/item/ServicePrincipalRiskDetectionItemRequestBuilder.java index 94d250ab6d7..ce060b379f7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/serviceprincipalriskdetections/item/ServicePrincipalRiskDetectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/serviceprincipalriskdetections/item/ServicePrincipalRiskDetectionItemRequestBuilder.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}/identityProtection/servicePrincipalRiskDetections/{servicePrincipalRiskDetection%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 ServicePrincipalRiskDetection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProtection/servicePrincipalRiskDetections/{servicePrincipalRiskDetection%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/identityproviders/IdentityProvidersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityproviders/IdentityProvidersRequestBuilder.java index 847ea361904..ec49050eb5c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityproviders/IdentityProvidersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityproviders/IdentityProvidersRequestBuilder.java @@ -190,7 +190,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final IdentityProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/identityProviders", 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/identityproviders/item/IdentityProviderItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityproviders/item/IdentityProviderItemRequestBuilder.java index e76a5d50156..d0c1c203b39 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identityproviders/item/IdentityProviderItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identityproviders/item/IdentityProviderItemRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/identityProviders/{identityProvider%2Did}", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -201,7 +201,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final IdentityProvider body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/identityProviders/{identityProvider%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/informationprotection/InformationProtectionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/InformationProtectionRequestBuilder.java index 5758a84967c..3c93d9b61e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/InformationProtectionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/InformationProtectionRequestBuilder.java @@ -211,7 +211,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InformationProtection body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection", 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/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java index 37b8a3f0a7a..0b69b3d676f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/datalosspreventionpolicies/DataLossPreventionPoliciesRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final DataLossPreventionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/informationProtection/dataLossPreventionPolicies", 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/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.java index e374de0a4b8..7d4f0c20067 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/datalosspreventionpolicies/item/DataLossPreventionPolicyItemRequestBuilder.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}/informationProtection/dataLossPreventionPolicies/{dataLossPreventionPolicy%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 DataLossPreventionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/dataLossPreventionPolicies/{dataLossPreventionPolicy%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/informationprotection/policy/PolicyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/PolicyRequestBuilder.java index f582587b1c9..b731829dd3b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/PolicyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/PolicyRequestBuilder.java @@ -152,7 +152,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/informationProtection/policy", pathParameters); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); requestInfo.headers.tryAdd("Accept", "application/json"); return requestInfo; @@ -207,7 +207,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InformationProtectionPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/policy", 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/informationprotection/policy/labels/LabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/labels/LabelsRequestBuilder.java index 79da3860e07..c3305805b83 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/labels/LabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/labels/LabelsRequestBuilder.java @@ -224,7 +224,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final InformationProtectionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/informationProtection/policy/labels", 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/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java index 9262c153cfe..55fd472f8ca 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/policy/labels/item/InformationProtectionLabelItemRequestBuilder.java @@ -142,7 +142,7 @@ public RequestInformation toDeleteRequestInformation() { @jakarta.annotation.Nonnull @Deprecated public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/informationProtection/policy/labels/{informationProtectionLabel%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 @Deprecated public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final InformationProtectionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/policy/labels/{informationProtectionLabel%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/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java index 95384a57f8a..4713d043762 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/SensitivityLabelsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/informationProtection/sensitivityLabels", 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/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java index 9099c8a9759..ea064fff273 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/SensitivityLabelItemRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%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 SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%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/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java index aa53bd6a0fd..0dff4ddfeb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/SublabelsRequestBuilder.java @@ -153,7 +153,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels", 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/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java index 727c6bfa662..efca1869e04 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitylabels/item/sublabels/item/SensitivityLabelItemRequestBuilder.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}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%2Did1}", 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 SensitivityLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/sensitivityLabels/{sensitivityLabel%2Did}/sublabels/{sensitivityLabel%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); diff --git a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.java index 9f7f523227b..ad72a7b1ee3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/sensitivitypolicysettings/SensitivityPolicySettingsRequestBuilder.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}/informationProtection/sensitivityPolicySettings", 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 SensitivityPolicySettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/sensitivityPolicySettings", 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/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java index 5fe76eeff47..b63ad1702b8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/ThreatAssessmentRequestsRequestBuilder.java @@ -148,7 +148,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ThreatAssessmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/informationProtection/threatAssessmentRequests", 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/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.java index ed5278e205a..caf27922a50 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/ThreatAssessmentRequestItemRequestBuilder.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}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%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 ThreatAssessmentRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%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/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java index a8b9b0b323e..73db91c72cc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/results/ResultsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ThreatAssessmentResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%2Did}/results", 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/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.java index d1d4e58beb3..9d0dbdf12ae 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/informationprotection/threatassessmentrequests/item/results/item/ThreatAssessmentResultItemRequestBuilder.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}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%2Did}/results/{threatAssessmentResult%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 ThreatAssessmentResult body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/informationProtection/threatAssessmentRequests/{threatAssessmentRequest%2Did}/results/{threatAssessmentResult%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/invitations/InvitationsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/invitations/InvitationsRequestBuilder.java index 7fc2c74d77c..60bbc7a0fb0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/invitations/InvitationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/invitations/InvitationsRequestBuilder.java @@ -146,7 +146,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Invitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/invitations", 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/invitations/item/InvitationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/invitations/item/InvitationItemRequestBuilder.java index 78421d76bbd..ef8417e415f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/invitations/item/InvitationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/invitations/item/InvitationItemRequestBuilder.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}/invitations/{invitation%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 Invitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/invitations/{invitation%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/invitations/item/inviteduser/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/invitations/item/inviteduser/mailboxsettings/MailboxSettingsRequestBuilder.java index c62806b769f..487f1249070 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/invitations/item/inviteduser/mailboxsettings/MailboxSettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/invitations/item/inviteduser/mailboxsettings/MailboxSettingsRequestBuilder.java @@ -121,7 +121,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/invitations/{invitation%2Did}/invitedUser/mailboxSettings", 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/messageevents/MessageEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messageevents/MessageEventsRequestBuilder.java index 0f501101fe5..8eee7f2f9d3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messageevents/MessageEventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messageevents/MessageEventsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MessageEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/messageEvents", 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/messageevents/item/MessageEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messageevents/item/MessageEventItemRequestBuilder.java index 2d44dfa1ce3..ceafef81cff 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messageevents/item/MessageEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messageevents/item/MessageEventItemRequestBuilder.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}/messageEvents/{messageEvent%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 MessageEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/messageEvents/{messageEvent%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/messagerecipients/MessageRecipientsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/MessageRecipientsRequestBuilder.java index 03ee26a0107..b7ac3f09192 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/MessageRecipientsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/MessageRecipientsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MessageRecipient body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/messageRecipients", 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/messagerecipients/item/MessageRecipientItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/MessageRecipientItemRequestBuilder.java index 90e8ff7e976..269276fa29d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/MessageRecipientItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/MessageRecipientItemRequestBuilder.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}/messageRecipients/{messageRecipient%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 MessageRecipient body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/messageRecipients/{messageRecipient%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/messagerecipients/item/events/EventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/events/EventsRequestBuilder.java index 0c192e04c75..477452df6c2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/events/EventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/events/EventsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MessageEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/messageRecipients/{messageRecipient%2Did}/events", 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/messagerecipients/item/events/item/MessageEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/events/item/MessageEventItemRequestBuilder.java index d30bdc8a103..e4481c0439b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/events/item/MessageEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagerecipients/item/events/item/MessageEventItemRequestBuilder.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}/messageRecipients/{messageRecipient%2Did}/events/{messageEvent%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 MessageEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/messageRecipients/{messageRecipient%2Did}/events/{messageEvent%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/messagetraces/MessageTracesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/MessageTracesRequestBuilder.java index 3b0c2341b16..b095ab22e61 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagetraces/MessageTracesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/MessageTracesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MessageTrace body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/messageTraces", 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/messagetraces/item/MessageTraceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/MessageTraceItemRequestBuilder.java index 4fa93bb8a45..07be1044005 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/MessageTraceItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/MessageTraceItemRequestBuilder.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}/messageTraces/{messageTrace%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 MessageTrace body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/messageTraces/{messageTrace%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/messagetraces/item/recipients/RecipientsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/RecipientsRequestBuilder.java index dc29e62b51a..2243c4152a1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/RecipientsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/RecipientsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MessageRecipient body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/messageTraces/{messageTrace%2Did}/recipients", 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/messagetraces/item/recipients/item/MessageRecipientItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/MessageRecipientItemRequestBuilder.java index 48e2597de56..db065d57005 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/MessageRecipientItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/MessageRecipientItemRequestBuilder.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}/messageTraces/{messageTrace%2Did}/recipients/{messageRecipient%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 MessageRecipient body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/messageTraces/{messageTrace%2Did}/recipients/{messageRecipient%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/messagetraces/item/recipients/item/events/EventsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/events/EventsRequestBuilder.java index 9bfd90e31b0..c7b0b1e428b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/events/EventsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/events/EventsRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MessageEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/messageTraces/{messageTrace%2Did}/recipients/{messageRecipient%2Did}/events", 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/messagetraces/item/recipients/item/events/item/MessageEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/events/item/MessageEventItemRequestBuilder.java index e5d04cf16ad..24de6506799 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/events/item/MessageEventItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/messagetraces/item/recipients/item/events/item/MessageEventItemRequestBuilder.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}/messageTraces/{messageTrace%2Did}/recipients/{messageRecipient%2Did}/events/{messageEvent%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 MessageEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/messageTraces/{messageTrace%2Did}/recipients/{messageRecipient%2Did}/events/{messageEvent%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/mobilitymanagementpolicies/MobilityManagementPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/MobilityManagementPoliciesRequestBuilder.java index ef9ead57d4b..f5be0351b21 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/MobilityManagementPoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/MobilityManagementPoliciesRequestBuilder.java @@ -144,7 +144,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f @jakarta.annotation.Nonnull public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MobilityManagementPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/mobilityManagementPolicies", 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/mobilitymanagementpolicies/item/MobilityManagementPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/item/MobilityManagementPolicyItemRequestBuilder.java index ad632d3963a..9c366b7c963 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/item/MobilityManagementPolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/item/MobilityManagementPolicyItemRequestBuilder.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}/mobilityManagementPolicies/{mobilityManagementPolicy%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 MobilityManagementPolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); - final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/mobilityManagementPolicies/{mobilityManagementPolicy%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/mobilitymanagementpolicies/item/includedgroups/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/item/includedgroups/ref/RefRequestBuilder.java index c30534401cf..ea908101b9a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/item/includedgroups/ref/RefRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/mobilitymanagementpolicies/item/includedgroups/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}/mobilityManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + super(requestAdapter, "{+baseurl}/mobilityManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$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}/mobilityManagementPolicies/{mobilityManagementPolicy%2Did}/includedGroups/$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/models/AccessPackageAssignmentResourceRole.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentResourceRole.java index 6462d0d0c00..a5ed50d4147 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentResourceRole.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentResourceRole.java @@ -81,7 +81,7 @@ public String getOriginId() { return this.backingStore.get("originId"); } /** - * Gets the originSystem property value. The system where the role assignment is to be created or has been created for an access package assignment, such as SharePointOnline, AadGroup or AadApplication, corresponding to the originSystem property of the accessPackageResourceRole. + * Gets the originSystem property value. The system where the role assignment is to be created or has been created for an access package assignment, such as SharePointOnline, AadGroup, or AadApplication, corresponding to the originSystem property of the accessPackageResourceRole. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -89,7 +89,7 @@ public String getOriginSystem() { return this.backingStore.get("originSystem"); } /** - * Gets the status property value. The value is PendingFulfillment when the access package assignment hasn't yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. + * Gets the status property value. The value is PendingFulfillment before the access package assignment is delivered to the origin system, and Fulfilled after the access package assignment is delivered to the origin system. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -147,14 +147,14 @@ public void setOriginId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("originId", value); } /** - * Sets the originSystem property value. The system where the role assignment is to be created or has been created for an access package assignment, such as SharePointOnline, AadGroup or AadApplication, corresponding to the originSystem property of the accessPackageResourceRole. + * Sets the originSystem property value. The system where the role assignment is to be created or has been created for an access package assignment, such as SharePointOnline, AadGroup, or AadApplication, corresponding to the originSystem property of the accessPackageResourceRole. * @param value Value to set for the originSystem property. */ public void setOriginSystem(@jakarta.annotation.Nullable final String value) { this.backingStore.set("originSystem", value); } /** - * Sets the status property value. The value is PendingFulfillment when the access package assignment hasn't yet been delivered to the origin system, and Fulfilled when the access package assignment has been delivered to the origin system. + * Sets the status property value. The value is PendingFulfillment before the access package assignment is delivered to the origin system, and Fulfilled after the access package assignment is delivered to the origin system. * @param value Value to set for the status property. */ public void setStatus(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageResource.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageResource.java index 115de04df67..f85dbacef6d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageResource.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageResource.java @@ -120,7 +120,7 @@ public Boolean getIsPendingOnboarding() { return this.backingStore.get("isPendingOnboarding"); } /** - * Gets the originId property value. The unique identifier of the resource in the origin system. In the case of a Microsoft Entra group, originId is the identifier of the group. + * Gets the originId property value. The unique identifier of the resource in the origin system. In the case of a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -128,7 +128,7 @@ public String getOriginId() { return this.backingStore.get("originId"); } /** - * Gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. + * Gets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. Supports $filter (eq). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -236,14 +236,14 @@ public void setIsPendingOnboarding(@jakarta.annotation.Nullable final Boolean va this.backingStore.set("isPendingOnboarding", value); } /** - * Sets the originId property value. The unique identifier of the resource in the origin system. In the case of a Microsoft Entra group, originId is the identifier of the group. + * Sets the originId property value. The unique identifier of the resource in the origin system. In the case of a Microsoft Entra group, originId is the identifier of the group. Supports $filter (eq). * @param value Value to set for the originId property. */ public void setOriginId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("originId", value); } /** - * Sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. + * Sets the originSystem property value. The type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup. Supports $filter (eq). * @param value Value to set for the originSystem property. */ public void setOriginSystem(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessReview.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessReview.java index f621275cfd9..0962ab71318 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessReview.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessReview.java @@ -26,7 +26,7 @@ public static AccessReview createFromDiscriminatorValue(@jakarta.annotation.Nonn return new AccessReview(); } /** - * Gets the businessFlowTemplateId property value. The business flow template identifier. Required on create. This value is case sensitive. + * Gets the businessFlowTemplateId property value. The business flow template identifier. Required on create. This value is case sensitive. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -66,7 +66,7 @@ public String getDisplayName() { return this.backingStore.get("displayName"); } /** - * Gets the endDateTime property value. The DateTime when the review is scheduled to end. This must be at least one day later than the start date. Required on create. + * Gets the endDateTime property value. The DateTime when the review is scheduled to end. This must be at least one day later than the start date. Required on create. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -97,7 +97,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the instances property value. The collection of access reviews instances past, present and future, if this object is a recurring access review. + * Gets the instances property value. The collection of access reviews instances past, present, and future, if this object is a recurring access review. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public java.util.List getMyDecisions() { return this.backingStore.get("myDecisions"); } /** - * Gets the reviewedEntity property value. The object for which the access reviews is reviewing the access rights assignments. This can be the group for the review of memberships of users in a group, or the app for a review of assignments of users to an application. Required on create. + * Gets the reviewedEntity property value. The object for which the access review is reviewing the access rights assignments. This identity can be the group for the review of memberships of users in a group, or the app for a review of assignments of users to an application. Required on create. * @return a {@link Identity} */ @jakarta.annotation.Nullable @@ -129,7 +129,7 @@ public java.util.List getReviewers() { return this.backingStore.get("reviewers"); } /** - * Gets the reviewerType property value. The relationship type of reviewer to the target object, one of self, delegated or entityOwners. Required on create. + * Gets the reviewerType property value. The relationship type of reviewer to the target object, one of: self, delegated, entityOwners. Required on create. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -145,7 +145,7 @@ public AccessReviewSettings getSettings() { return this.backingStore.get("settings"); } /** - * Gets the startDateTime property value. The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create. + * Gets the startDateTime property value. The date and time when the review is scheduled to be start. This date can be in the future. Required on create. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -183,7 +183,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("status", this.getStatus()); } /** - * Sets the businessFlowTemplateId property value. The business flow template identifier. Required on create. This value is case sensitive. + * Sets the businessFlowTemplateId property value. The business flow template identifier. Required on create. This value is case sensitive. * @param value Value to set for the businessFlowTemplateId property. */ public void setBusinessFlowTemplateId(@jakarta.annotation.Nullable final String value) { @@ -218,14 +218,14 @@ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the endDateTime property value. The DateTime when the review is scheduled to end. This must be at least one day later than the start date. Required on create. + * Sets the endDateTime property value. The DateTime when the review is scheduled to end. This must be at least one day later than the start date. Required on create. * @param value Value to set for the endDateTime property. */ public void setEndDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("endDateTime", value); } /** - * Sets the instances property value. The collection of access reviews instances past, present and future, if this object is a recurring access review. + * Sets the instances property value. The collection of access reviews instances past, present, and future, if this object is a recurring access review. * @param value Value to set for the instances property. */ public void setInstances(@jakarta.annotation.Nullable final java.util.List value) { @@ -239,7 +239,7 @@ public void setMyDecisions(@jakarta.annotation.Nullable final java.util.List> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("appId", (n) -> { this.setAppId(n.getStringValue()); }); + deserializerMap.put("appName", (n) -> { this.setAppName(n.getStringValue()); }); deserializerMap.put("count", (n) -> { this.setCount(n.getLongValue()); }); + deserializerMap.put("country", (n) -> { this.setCountry(n.getStringValue()); }); deserializerMap.put("factDate", (n) -> { this.setFactDate(n.getLocalDateValue()); }); + deserializerMap.put("language", (n) -> { this.setLanguage(n.getStringValue()); }); + deserializerMap.put("os", (n) -> { this.setOs(n.getStringValue()); }); return deserializerMap; } + /** + * Gets the language property value. The language property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLanguage() { + return this.backingStore.get("language"); + } + /** + * Gets the os property value. The os property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOs() { + return this.backingStore.get("os"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -59,8 +104,27 @@ public Map> getFieldDeserializers public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeStringValue("appId", this.getAppId()); + writer.writeStringValue("appName", this.getAppName()); writer.writeLongValue("count", this.getCount()); + writer.writeStringValue("country", this.getCountry()); writer.writeLocalDateValue("factDate", this.getFactDate()); + writer.writeStringValue("language", this.getLanguage()); + writer.writeStringValue("os", this.getOs()); + } + /** + * Sets the appId property value. The appId property + * @param value Value to set for the appId property. + */ + public void setAppId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appId", value); + } + /** + * Sets the appName property value. The appName property + * @param value Value to set for the appName property. + */ + public void setAppName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appName", value); } /** * Sets the count property value. The total number of users who made at least one authentication request within the specified time period. @@ -69,6 +133,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setCount(@jakarta.annotation.Nullable final Long value) { this.backingStore.set("count", value); } + /** + * Sets the country property value. The country property + * @param value Value to set for the country property. + */ + public void setCountry(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("country", value); + } /** * Sets the factDate property value. Date of the insight. * @param value Value to set for the factDate property. @@ -76,4 +147,18 @@ public void setCount(@jakarta.annotation.Nullable final Long value) { public void setFactDate(@jakarta.annotation.Nullable final LocalDate value) { this.backingStore.set("factDate", value); } + /** + * Sets the language property value. The language property + * @param value Value to set for the language property. + */ + public void setLanguage(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("language", value); + } + /** + * Sets the os property value. The os property + * @param value Value to set for the os property. + */ + public void setOs(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("os", value); + } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AdministrativeUnit.java b/src/main/java/com/microsoft/graph/beta/generated/models/AdministrativeUnit.java index 0157160d0cf..3a214f6b189 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AdministrativeUnit.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AdministrativeUnit.java @@ -26,7 +26,7 @@ public static AdministrativeUnit createFromDiscriminatorValue(@jakarta.annotatio return new AdministrativeUnit(); } /** - * Gets the description property value. An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith), $search. + * Gets the description property value. The description property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. + * Gets the displayName property value. The displayName property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isMemberManagementRestricted property value. true if members of this administrative unit should be treated as sensitive, which requires specific permissions to manage. Default value is false. Use this property to define administrative units whose roles don't inherit from tenant-level administrators, and management of individual member objects is limited to administrators scoped to a restricted management administrative unit. Immutable, so can't be changed later. For more information about working with restricted management administrative units, see Restricted management administrative units in Microsoft Entra ID. + * Gets the isMemberManagementRestricted property value. The isMemberManagementRestricted property * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -85,7 +85,7 @@ public java.util.List getMembers() { return this.backingStore.get("members"); } /** - * Gets the membershipRule property value. Dynamic membership rule for the administrative unit. For more about the rules that you can use for dynamic administrative units and dynamic groups, see Using attributes to create advanced rules. + * Gets the membershipRule property value. The membershipRule property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getMembershipRule() { return this.backingStore.get("membershipRule"); } /** - * Gets the membershipRuleProcessingState property value. Used to control whether the dynamic membership rule is actively processed. Set to On when you want the dynamic membership rule to be active and Paused if you want to stop updating membership dynamically. If not set, the default behavior is Paused. + * Gets the membershipRuleProcessingState property value. The membershipRuleProcessingState property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -101,7 +101,7 @@ public String getMembershipRuleProcessingState() { return this.backingStore.get("membershipRuleProcessingState"); } /** - * Gets the membershipType property value. Membership type for the administrative unit. Can be dynamic or assigned. If not set, the default behavior is assigned. + * Gets the membershipType property value. The membershipType property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -117,7 +117,7 @@ public java.util.List getScopedRoleMembers() { return this.backingStore.get("scopedRoleMembers"); } /** - * Gets the visibility property value. Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or Public. If not set, the default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list other members of the administrative unit. + * Gets the visibility property value. The visibility property * @return a {@link String} */ @jakarta.annotation.Nullable @@ -143,14 +143,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("visibility", this.getVisibility()); } /** - * Sets the description property value. An optional description for the administrative unit. Supports $filter (eq, ne, in, startsWith), $search. + * Sets the description property value. The description property * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the displayName property value. Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. + * Sets the displayName property value. The displayName property * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { @@ -164,7 +164,7 @@ public void setExtensions(@jakarta.annotation.Nullable final java.util.List