Skip to content

Commit

Permalink
Merge pull request #923 from microsoftgraph/beta/pipelinebuild/143502
Browse files Browse the repository at this point in the history
Generated beta models and request builders
  • Loading branch information
baywet authored Apr 16, 2024
2 parents 655af27 + ff42135 commit 8199a52
Show file tree
Hide file tree
Showing 5,316 changed files with 27,002 additions and 9,294 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand All @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph-beta</artifactId>
<version>6.5.0</version>
<version>6.6.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
Expand Down Expand Up @@ -123,3 +123,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI




5 changes: 3 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -97,5 +97,6 @@ mavenCentralPublishingEnabled=true






Original file line number Diff line number Diff line change
Expand Up @@ -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<PostRequestConfiguration> 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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> 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;
Expand Down Expand Up @@ -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<PatchRequestConfiguration> 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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<PostRequestConfiguration> 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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> 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;
Expand Down Expand Up @@ -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<PatchRequestConfiguration> 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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<PostRequestConfiguration> 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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> 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;
Expand Down Expand Up @@ -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<PatchRequestConfiguration> 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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
Expand Down Expand Up @@ -107,15 +107,15 @@ 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
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}
*/
Expand Down Expand Up @@ -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<PostRequestConfiguration> 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);
Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
Expand Down Expand Up @@ -179,21 +179,21 @@ public RequestInformation toDeleteRequestInformation() {
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> 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
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}
*/
Expand Down Expand Up @@ -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<PatchRequestConfiguration> 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);
Expand All @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<PostRequestConfiguration> 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);
Expand Down
Loading

0 comments on commit 8199a52

Please sign in to comment.