diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml
index d89b0ca3df0..af9303fb117 100644
--- a/.github/workflows/gradle-build.yml
+++ b/.github/workflows/gradle-build.yml
@@ -112,7 +112,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "BRANCH=$(gh release list -L 1 --json tagName --jq '.[0] | .tagName')" >> $GITHUB_ENV
- name: Download Last Successful Build
- uses: dawidd6/action-download-artifact@v9
+ uses: dawidd6/action-download-artifact@v10
with:
workflow: preview-and-release.yml
workflow_conclusion: success
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index f47bf391d10..db6e397e95b 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "6.45.0"
+ ".": "6.46.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 51a80aab6da..97870e2d591 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [6.46.0](https://github.com/microsoftgraph/msgraph-beta-sdk-java/compare/v6.45.0...v6.46.0) (2025-06-03)
+
+
+### Features
+
+* **generation:** update request builders and models ([545fa47](https://github.com/microsoftgraph/msgraph-beta-sdk-java/commit/545fa4723ca02e14ea9b0b9018d7f25ef83c0344))
+
## [6.45.0](https://github.com/microsoftgraph/msgraph-beta-sdk-java/compare/v6.44.0...v6.45.0) (2025-05-20)
diff --git a/README.md b/README.md
index 1d0ee24febd..df72335a0c9 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
// x-release-please-start-version
- implementation 'com.microsoft.graph:microsoft-graph-beta:6.45.0'
+ implementation 'com.microsoft.graph:microsoft-graph-beta:6.46.0'
// x-release-please-end
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
implementation 'com.azure:azure-identity:1.11.0'
@@ -39,7 +39,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph-beta
- 6.45.0
+ 6.46.0
diff --git a/android/build.gradle b/android/build.gradle
index 8258aba9213..290834baa43 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.19.2"
classpath "gradle.plugin.com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
- classpath "com.android.tools.build:gradle:8.10.0"
+ classpath "com.android.tools.build:gradle:8.10.1"
classpath "com.github.ben-manes:gradle-versions-plugin:0.52.0"
}
}
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
index ca025c83a7c..002b867c48b 100644
--- a/android/gradle/wrapper/gradle-wrapper.properties
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
diff --git a/gradle.properties b/gradle.properties
index 729336322a7..4eaaaf13369 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -29,7 +29,7 @@ mavenArtifactId = microsoft-graph-beta
mavenMajorVersion = 6
# x-release-please-end
# x-release-please-start-minor
-mavenMinorVersion = 45
+mavenMinorVersion = 46
# x-release-please-end
# x-release-please-start-patch
mavenPatchVersion = 0
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index ca025c83a7c..002b867c48b 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
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 7a300d0e224..b94a76d2c84 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
@@ -4,6 +4,8 @@
import com.microsoft.graph.beta.admin.people.namepronunciation.NamePronunciationRequestBuilder;
import com.microsoft.graph.beta.admin.people.profilecardproperties.ProfileCardPropertiesRequestBuilder;
import com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder;
+import com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder;
+import com.microsoft.graph.beta.admin.people.profilesourceswithsourceid.ProfileSourcesWithSourceIdRequestBuilder;
import com.microsoft.graph.beta.admin.people.pronouns.PronounsRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.graph.beta.models.PeopleAdminSettings;
@@ -57,6 +59,14 @@ public ProfileCardPropertiesRequestBuilder profileCardProperties() {
public ProfilePropertySettingsRequestBuilder profilePropertySettings() {
return new ProfilePropertySettingsRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity.
+ * @return a {@link ProfileSourcesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ProfileSourcesRequestBuilder profileSources() {
+ return new ProfileSourcesRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the pronouns property of the microsoft.graph.peopleAdminSettings entity.
* @return a {@link PronounsRequestBuilder}
@@ -148,6 +158,16 @@ public PeopleAdminSettings patch(@jakarta.annotation.Nonnull final PeopleAdminSe
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
return this.requestAdapter.send(requestInfo, errorMapping, PeopleAdminSettings::createFromDiscriminatorValue);
}
+ /**
+ * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity.
+ * @param sourceId Alternate key of profileSource
+ * @return a {@link ProfileSourcesWithSourceIdRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ProfileSourcesWithSourceIdRequestBuilder profileSourcesWithSourceId(@jakarta.annotation.Nonnull final String sourceId) {
+ Objects.requireNonNull(sourceId);
+ return new ProfileSourcesWithSourceIdRequestBuilder(pathParameters, requestAdapter, sourceId);
+ }
/**
* Delete navigation property people for admin
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/ProductChangesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/ProfileSourcesRequestBuilder.java
similarity index 57%
rename from src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/ProductChangesRequestBuilder.java
rename to src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/ProfileSourcesRequestBuilder.java
index 7f8bac375f5..5dcad933fd4 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/ProductChangesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/ProfileSourcesRequestBuilder.java
@@ -1,10 +1,10 @@
-package com.microsoft.graph.beta.identity.productchanges;
+package com.microsoft.graph.beta.admin.people.profilesources;
-import com.microsoft.graph.beta.identity.productchanges.count.CountRequestBuilder;
-import com.microsoft.graph.beta.identity.productchanges.item.ChangeItemBaseItemRequestBuilder;
-import com.microsoft.graph.beta.models.ChangeItemBase;
-import com.microsoft.graph.beta.models.ChangeItemBaseCollectionResponse;
+import com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder;
+import com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.ProfileSource;
+import com.microsoft.graph.beta.models.ProfileSourceCollectionResponse;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
import com.microsoft.kiota.HttpMethod;
@@ -19,133 +19,111 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity.
+ * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class ProductChangesRequestBuilder extends BaseRequestBuilder {
+public class ProfileSourcesRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to count the resources in the collection.
* @return a {@link CountRequestBuilder}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
- @Deprecated
@jakarta.annotation.Nonnull
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
}
/**
- * Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity.
- * @param changeItemBaseId The unique identifier of changeItemBase
- * @return a {@link ChangeItemBaseItemRequestBuilder}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
+ * Provides operations to manage the profileSources property of the microsoft.graph.peopleAdminSettings entity.
+ * @param profileSourceId The unique identifier of profileSource
+ * @return a {@link ProfileSourceItemRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public ChangeItemBaseItemRequestBuilder byChangeItemBaseId(@jakarta.annotation.Nonnull final String changeItemBaseId) {
- Objects.requireNonNull(changeItemBaseId);
+ public ProfileSourceItemRequestBuilder byProfileSourceId(@jakarta.annotation.Nonnull final String profileSourceId) {
+ Objects.requireNonNull(profileSourceId);
final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("changeItemBase%2Did", changeItemBaseId);
- return new ChangeItemBaseItemRequestBuilder(urlTplParams, requestAdapter);
+ urlTplParams.put("profileSource%2Did", profileSourceId);
+ return new ProfileSourceItemRequestBuilder(urlTplParams, requestAdapter);
}
/**
- * Instantiates a new {@link ProductChangesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link ProfileSourcesRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
- public ProductChangesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identity/productChanges{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ public ProfileSourcesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
}
/**
- * Instantiates a new {@link ProductChangesRequestBuilder} and sets the default values.
+ * Instantiates a new {@link ProfileSourcesRequestBuilder} 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 ProductChangesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identity/productChanges{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ public ProfileSourcesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/people/profileSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases.
- * @return a {@link ChangeItemBaseCollectionResponse}
+ * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization.
+ * @return a {@link ProfileSourceCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBaseCollectionResponse get() {
+ public ProfileSourceCollectionResponse get() {
return get(null);
}
/**
- * Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases.
+ * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link ChangeItemBaseCollectionResponse}
+ * @return a {@link ProfileSourceCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBaseCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public ProfileSourceCollectionResponse 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, ChangeItemBaseCollectionResponse::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ProfileSourceCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create new navigation property to productChanges for identity
+ * Create a new profileSource object.
* @param body The request body
- * @return a {@link ChangeItemBase}
+ * @return a {@link ProfileSource}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBase post(@jakarta.annotation.Nonnull final ChangeItemBase body) {
+ public ProfileSource post(@jakarta.annotation.Nonnull final ProfileSource body) {
return post(body, null);
}
/**
- * Create new navigation property to productChanges for identity
+ * Create a new profileSource object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link ChangeItemBase}
+ * @return a {@link ProfileSource}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBase post(@jakarta.annotation.Nonnull final ChangeItemBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public ProfileSource post(@jakarta.annotation.Nonnull final ProfileSource 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, ChangeItemBase::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, ProfileSource::createFromDiscriminatorValue);
}
/**
- * Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases.
+ * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases.
+ * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
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);
@@ -153,28 +131,22 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create new navigation property to productChanges for identity
+ * Create a new profileSource object.
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChangeItemBase body) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProfileSource body) {
return toPostRequestInformation(body, null);
}
/**
- * Create new navigation property to productChanges for identity
+ * Create a new profileSource object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChangeItemBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ProfileSource 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);
@@ -185,18 +157,15 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
/**
* 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 ProductChangesRequestBuilder}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
+ * @return a {@link ProfileSourcesRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public ProductChangesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public ProfileSourcesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new ProductChangesRequestBuilder(rawUrl, requestAdapter);
+ return new ProfileSourcesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Get a list of the changeItemBase objects and their properties. The API returns both Microsoft Entra change announcements and releases.
+ * Get a list of the profileSource objects and their properties, which represent both external data sources and out-of-the-box Microsoft data sources configured for user profiles in an organization.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/count/CountRequestBuilder.java
similarity index 82%
rename from src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/count/CountRequestBuilder.java
rename to src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/count/CountRequestBuilder.java
index 6378fc7b82f..274ee11fa50 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/count/CountRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/count/CountRequestBuilder.java
@@ -1,4 +1,4 @@
-package com.microsoft.graph.beta.identity.productchanges.count;
+package com.microsoft.graph.beta.admin.people.profilesources.count;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -25,7 +25,7 @@ public class CountRequestBuilder extends BaseRequestBuilder {
* @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}/identity/productChanges/$count{?%24filter,%24search}", pathParameters);
+ super(requestAdapter, "{+baseurl}/admin/people/profileSources/$count{?%24filter,%24search}", pathParameters);
}
/**
* Instantiates a new {@link CountRequestBuilder} and sets the default values.
@@ -33,17 +33,14 @@ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -66,11 +60,8 @@ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consume
/**
* Get the number of the resource
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -78,11 +69,8 @@ public RequestInformation toGetRequestInformation() {
* Get the number of the resource
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
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);
@@ -93,11 +81,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* 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}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new CountRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/item/ProfileSourceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/item/ProfileSourceItemRequestBuilder.java
new file mode 100644
index 00000000000..c9f48c3fb2c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesources/item/ProfileSourceItemRequestBuilder.java
@@ -0,0 +1,231 @@
+package com.microsoft.graph.beta.admin.people.profilesources.item;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.ProfileSource;
+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 profileSources property of the microsoft.graph.peopleAdminSettings entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ProfileSourceItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ProfileSourceItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ProfileSourceItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ProfileSourceItemRequestBuilder} 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 ProfileSourceItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/people/profileSources/{profileSource%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete a profileSource object.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete a profileSource 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);
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource get() {
+ return get(null);
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource 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, ProfileSource::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the properties of a profileSource object.
+ * @param body The request body
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the properties of a profileSource object.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource 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, ProfileSource::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete a profileSource object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete a profileSource 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);
+ return requestInfo;
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @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 a profileSource object.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfileSource body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the properties of a profileSource 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 ProfileSource 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 ProfileSourceItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ProfileSourceItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ProfileSourceItemRequestBuilder(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 collection of profile source settings configured by an administrator in an organization.
+ */
+ @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/admin/people/profilesourceswithsourceid/ProfileSourcesWithSourceIdRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesourceswithsourceid/ProfileSourcesWithSourceIdRequestBuilder.java
new file mode 100644
index 00000000000..dc929f71b98
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/people/profilesourceswithsourceid/ProfileSourcesWithSourceIdRequestBuilder.java
@@ -0,0 +1,233 @@
+package com.microsoft.graph.beta.admin.people.profilesourceswithsourceid;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.ProfileSource;
+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 profileSources property of the microsoft.graph.peopleAdminSettings entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ProfileSourcesWithSourceIdRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ProfileSourcesWithSourceIdRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ * @param sourceId Alternate key of profileSource
+ */
+ public ProfileSourcesWithSourceIdRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String sourceId) {
+ super(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", pathParameters);
+ this.pathParameters.put("sourceId", sourceId);
+ }
+ /**
+ * Instantiates a new {@link ProfileSourcesWithSourceIdRequestBuilder} 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 ProfileSourcesWithSourceIdRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/people/profileSources(sourceId='{sourceId}'){?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete a profileSource object.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete a profileSource 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);
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource get() {
+ return get(null);
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource 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, ProfileSource::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the properties of a profileSource object.
+ * @param body The request body
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the properties of a profileSource object.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ProfileSource}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public ProfileSource patch(@jakarta.annotation.Nonnull final ProfileSource 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, ProfileSource::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete a profileSource object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete a profileSource 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);
+ return requestInfo;
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A collection of profile source settings configured by an administrator in an organization.
+ * @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 a profileSource object.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ProfileSource body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the properties of a profileSource 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 ProfileSource 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 ProfileSourcesWithSourceIdRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ProfileSourcesWithSourceIdRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ProfileSourcesWithSourceIdRequestBuilder(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 collection of profile source settings configured by an administrator in an organization.
+ */
+ @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/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java
index 36de1c29327..b0cd072f934 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
@@ -37,18 +37,18 @@ public ResourceConnectionItemRequestBuilder(@jakarta.annotation.Nonnull final St
super(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete an operationalInsightsConnection object.
+ * Delete a resourceConnection 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 operationalInsightsConnection object.
+ * Delete a resourceConnection 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);
@@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read the properties and relationships of a resourceConnection object.
+ * Read the properties and relationships of an operationalInsightsConnection object.
* @return a {@link ResourceConnection}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ResourceConnection get() {
return get(null);
}
/**
- * Read the properties and relationships of a resourceConnection object.
+ * Read the properties and relationships of an operationalInsightsConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ResourceConnection}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ResourceConnection get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -106,7 +106,7 @@ public ResourceConnection patch(@jakarta.annotation.Nonnull final ResourceConnec
return this.requestAdapter.send(requestInfo, errorMapping, ResourceConnection::createFromDiscriminatorValue);
}
/**
- * Delete an operationalInsightsConnection object.
+ * Delete a resourceConnection object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -114,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete an operationalInsightsConnection object.
+ * Delete a resourceConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read the properties and relationships of a resourceConnection object.
+ * Read the properties and relationships of an operationalInsightsConnection object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -133,7 +133,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read the properties and relationships of a resourceConnection object.
+ * Read the properties and relationships of an operationalInsightsConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -185,7 +185,7 @@ public ResourceConnectionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read the properties and relationships of a resourceConnection object.
+ * Read the properties and relationships of an operationalInsightsConnection 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/updatableassets/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java
index 1dd73d03bc5..9c9bd8804e5 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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
* @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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
* @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 of an azureADDevice object.
+ * Read the properties and relationships of an updatableAsset 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 of an azureADDevice object.
+ * Read the properties and relationships of an updatableAsset 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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -150,7 +150,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +161,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAsset object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -169,7 +169,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAsset object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -221,7 +221,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAsset 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/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java
index a6d06fd8b78..0089d263e9a 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
@@ -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 contentApproval object.
+ * Read the properties and relationships of a complianceChange object.
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ComplianceChange get() {
return get(null);
}
/**
- * Read the properties and relationships of a contentApproval object.
+ * Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ComplianceChange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -136,7 +136,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read the properties and relationships of a contentApproval object.
+ * Read the properties and relationships of a complianceChange object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -144,7 +144,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read the properties and relationships of a contentApproval object.
+ * Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -196,7 +196,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read the properties and relationships of a contentApproval object.
+ * Read the properties and relationships of a complianceChange object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 dd7a7e224f4..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
@@ -60,7 +60,7 @@ public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link IosLobAppProvisioningConfigurationAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -69,7 +69,7 @@ public IosLobAppProvisioningConfigurationAssignmentCollectionResponse get() {
return get(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link IosLobAppProvisioningConfigurationAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,7 +107,7 @@ public IosLobAppProvisioningConfigurationAssignment post(@jakarta.annotation.Non
return this.requestAdapter.send(requestInfo, errorMapping, IosLobAppProvisioningConfigurationAssignment::createFromDiscriminatorValue);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +161,7 @@ public AssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
return new AssignmentsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 6247f22871d..01163a4a11b 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
@@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link IosLobAppProvisioningConfigurationAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -64,7 +64,7 @@ public IosLobAppProvisioningConfigurationAssignment get() {
return get(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link IosLobAppProvisioningConfigurationAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -121,7 +121,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -129,7 +129,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -181,7 +181,7 @@ public IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder withUrl(@j
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 62ca53adbac..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
@@ -60,7 +60,7 @@ public ScheduledActionsForRuleRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -69,7 +69,7 @@ public DeviceComplianceScheduledActionForRuleCollectionResponse get() {
return get(null);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,7 +107,7 @@ public DeviceComplianceScheduledActionForRule post(@jakarta.annotation.Nonnull f
return this.requestAdapter.send(requestInfo, errorMapping, DeviceComplianceScheduledActionForRule::createFromDiscriminatorValue);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +161,7 @@ public ScheduledActionsForRuleRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new ScheduledActionsForRuleRequestBuilder(rawUrl, requestAdapter);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 dd3f4a65b59..b06f7326651 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
@@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @return a {@link DeviceComplianceScheduledActionForRule}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -73,7 +73,7 @@ public DeviceComplianceScheduledActionForRule get() {
return get(null);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceComplianceScheduledActionForRule}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -130,7 +130,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -190,7 +190,7 @@ public DeviceComplianceScheduledActionForRuleItemRequestBuilder withUrl(@jakarta
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * The list of scheduled action for this rule
+ * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 a13461ac10f..103c3b5dd9e 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
@@ -16,6 +16,7 @@
import com.microsoft.graph.beta.directory.outboundshareduserprofiles.OutboundSharedUserProfilesRequestBuilder;
import com.microsoft.graph.beta.directory.pendingexternaluserprofiles.PendingExternalUserProfilesRequestBuilder;
import com.microsoft.graph.beta.directory.publickeyinfrastructure.PublicKeyInfrastructureRequestBuilder;
+import com.microsoft.graph.beta.directory.recommendationconfiguration.RecommendationConfigurationRequestBuilder;
import com.microsoft.graph.beta.directory.recommendations.RecommendationsRequestBuilder;
import com.microsoft.graph.beta.directory.sharedemaildomains.SharedEmailDomainsRequestBuilder;
import com.microsoft.graph.beta.directory.subscriptions.SubscriptionsRequestBuilder;
@@ -170,6 +171,14 @@ public PendingExternalUserProfilesRequestBuilder pendingExternalUserProfiles() {
public PublicKeyInfrastructureRequestBuilder publicKeyInfrastructure() {
return new PublicKeyInfrastructureRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the recommendationConfiguration property of the microsoft.graph.directory entity.
+ * @return a {@link RecommendationConfigurationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecommendationConfigurationRequestBuilder recommendationConfiguration() {
+ return new RecommendationConfigurationRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the recommendations property of the microsoft.graph.directory entity.
* @return a {@link RecommendationsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/directory/recommendationconfiguration/RecommendationConfigurationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendationconfiguration/RecommendationConfigurationRequestBuilder.java
new file mode 100644
index 00000000000..be621fda589
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/directory/recommendationconfiguration/RecommendationConfigurationRequestBuilder.java
@@ -0,0 +1,231 @@
+package com.microsoft.graph.beta.directory.recommendationconfiguration;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.RecommendationConfiguration;
+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 recommendationConfiguration property of the microsoft.graph.directory entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RecommendationConfigurationRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RecommendationConfigurationRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RecommendationConfigurationRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recommendationConfiguration{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RecommendationConfigurationRequestBuilder} 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 RecommendationConfigurationRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/directory/recommendationConfiguration{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property recommendationConfiguration for directory
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property recommendationConfiguration for directory
+ * @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);
+ }
+ /**
+ * Read the properties and relationships of a recommendationConfiguration object.
+ * @return a {@link RecommendationConfiguration}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RecommendationConfiguration get() {
+ return get(null);
+ }
+ /**
+ * Read the properties and relationships of a recommendationConfiguration object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecommendationConfiguration}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RecommendationConfiguration 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, RecommendationConfiguration::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the properties of a recommendationConfiguration object.
+ * @param body The request body
+ * @return a {@link RecommendationConfiguration}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RecommendationConfiguration patch(@jakarta.annotation.Nonnull final RecommendationConfiguration body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the properties of a recommendationConfiguration object.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RecommendationConfiguration}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RecommendationConfiguration patch(@jakarta.annotation.Nonnull final RecommendationConfiguration 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, RecommendationConfiguration::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property recommendationConfiguration for directory
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property recommendationConfiguration for directory
+ * @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);
+ return requestInfo;
+ }
+ /**
+ * Read the properties and relationships of a recommendationConfiguration object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read the properties and relationships of a recommendationConfiguration 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 a recommendationConfiguration object.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RecommendationConfiguration body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the properties of a recommendationConfiguration 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 RecommendationConfiguration 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 RecommendationConfigurationRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RecommendationConfigurationRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RecommendationConfigurationRequestBuilder(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 a recommendationConfiguration 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/drives/item/items/item/copy/CopyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/copy/CopyRequestBuilder.java
index 2541d48cb72..a37294d8527 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/copy/CopyRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/copy/CopyRequestBuilder.java
@@ -36,7 +36,7 @@ public CopyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jaka
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/copy", rawUrl);
}
/**
- * Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress.
+ * Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes.
* @param body The request body
* @return a {@link DriveItem}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public DriveItem post(@jakarta.annotation.Nonnull final CopyPostRequestBody body
return post(body, null);
}
/**
- * Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress.
+ * Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DriveItem}
@@ -63,7 +63,7 @@ public DriveItem post(@jakarta.annotation.Nonnull final CopyPostRequestBody body
return this.requestAdapter.send(requestInfo, errorMapping, DriveItem::createFromDiscriminatorValue);
}
/**
- * Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress.
+ * Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress.
+ * Create a copy of a driveItem asynchronously. You can optionally copy exclusively the child items, specify a new parent folder, or provide a new name. Once the request is accepted, the operation is queued and processed asynchronously. Use the monitor URL to track progress until the operation completes.
* @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/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java
index e568b8dd1a1..7f37a243591 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);
}
/**
- * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
+ * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
* @param body The request body
* @return a {@link ItemRetentionLabel}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body) {
return patch(body, null);
}
/**
- * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
+ * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ItemRetentionLabel}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
+ * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -154,7 +154,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive.
+ * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/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 048ea9e505e..ea380098d00 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
@@ -271,21 +271,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/names/{workbookNamedItem%2Did}/range()", rawUrl);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get() {
return get(null);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -359,7 +359,7 @@ public RowWithRowRequestBuilder rowWithRow(@jakarta.annotation.Nonnull final Int
return new RowWithRowRequestBuilder(pathParameters, requestAdapter, row);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -367,7 +367,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java
index 331903a71aa..5e333db00f0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/tables/add/AddRequestBuilder.java
@@ -36,23 +36,23 @@ public AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/tables/add", rawUrl);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @param body The request body
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
return post(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -63,7 +63,7 @@ public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody b
return this.requestAdapter.send(requestInfo, errorMapping, WorkbookTable::createFromDiscriminatorValue);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @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/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 86bd6f4c1e1..b712aebbdac 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
@@ -271,21 +271,21 @@ public RangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/names/{workbookNamedItem%2Did}/range()", rawUrl);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get() {
return get(null);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookRange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookRange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -359,7 +359,7 @@ public RowWithRowRequestBuilder rowWithRow(@jakarta.annotation.Nonnull final Int
return new RowWithRowRequestBuilder(pathParameters, requestAdapter, row);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -367,7 +367,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties and relationships of range object.
+ * Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java
index 2b5f324c12d..3257a406357 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/workbook/worksheets/item/tables/add/AddRequestBuilder.java
@@ -36,23 +36,23 @@ public AddRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakar
super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/tables/add", rawUrl);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @param body The request body
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body) {
return post(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link WorkbookTable}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -63,7 +63,7 @@ public WorkbookTable post(@jakarta.annotation.Nonnull final AddPostRequestBody b
return this.requestAdapter.send(requestInfo, errorMapping, WorkbookTable::createFromDiscriminatorValue);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Use this API to create a new Table.
+ * Create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown.
* @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/education/users/item/EducationUserItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/education/users/item/EducationUserItemRequestBuilder.java
index 9f0d0f02b48..624a2571257 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) {
@@ -201,7 +201,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}
*/
@@ -210,7 +210,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}
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 ab98c86cba8..9404fc8629a 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
@@ -6,6 +6,7 @@
import com.microsoft.graph.beta.employeeexperience.learningcourseactivities.LearningCourseActivitiesRequestBuilder;
import com.microsoft.graph.beta.employeeexperience.learningcourseactivitieswithexternalcourseactivityid.LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder;
import com.microsoft.graph.beta.employeeexperience.learningproviders.LearningProvidersRequestBuilder;
+import com.microsoft.graph.beta.employeeexperience.roles.RolesRequestBuilder;
import com.microsoft.graph.beta.models.EmployeeExperience;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -66,6 +67,14 @@ public LearningCourseActivitiesRequestBuilder learningCourseActivities() {
public LearningProvidersRequestBuilder learningProviders() {
return new LearningProvidersRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity.
+ * @return a {@link RolesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RolesRequestBuilder roles() {
+ return new RolesRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link EmployeeExperienceRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
@@ -116,7 +125,7 @@ public LearningCourseActivitiesWithExternalcourseActivityIdRequestBuilder learni
}
/**
* Update employeeExperience
- * @param body Represents a container that exposes navigation properties for employee experience resources.
+ * @param body The request body
* @return a {@link EmployeeExperience}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -126,7 +135,7 @@ public EmployeeExperience patch(@jakarta.annotation.Nonnull final EmployeeExperi
}
/**
* Update employeeExperience
- * @param body Represents a container that exposes navigation properties for employee experience resources.
+ * @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link EmployeeExperience}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -161,7 +170,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
}
/**
* Update employeeExperience
- * @param body Represents a container that exposes navigation properties for employee experience resources.
+ * @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -170,7 +179,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
}
/**
* Update employeeExperience
- * @param body Represents a container that exposes navigation properties for employee experience resources.
+ * @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/employeeexperience/roles/RolesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/RolesRequestBuilder.java
new file mode 100644
index 00000000000..fa20ea3455b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/RolesRequestBuilder.java
@@ -0,0 +1,245 @@
+package com.microsoft.graph.beta.employeeexperience.roles;
+
+import com.microsoft.graph.beta.employeeexperience.roles.count.CountRequestBuilder;
+import com.microsoft.graph.beta.employeeexperience.roles.item.EngagementRoleItemRequestBuilder;
+import com.microsoft.graph.beta.models.EngagementRole;
+import com.microsoft.graph.beta.models.EngagementRoleCollectionResponse;
+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 roles property of the microsoft.graph.employeeExperience entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RolesRequestBuilder 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 roles property of the microsoft.graph.employeeExperience entity.
+ * @param engagementRoleId The unique identifier of engagementRole
+ * @return a {@link EngagementRoleItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public EngagementRoleItemRequestBuilder byEngagementRoleId(@jakarta.annotation.Nonnull final String engagementRoleId) {
+ Objects.requireNonNull(engagementRoleId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("engagementRole%2Did", engagementRoleId);
+ return new EngagementRoleItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link RolesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RolesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RolesRequestBuilder} 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 RolesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get a list of all the roles that can be assigned in Viva Engage.
+ * @return a {@link EngagementRoleCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get a list of all the roles that can be assigned in Viva Engage.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EngagementRoleCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleCollectionResponse 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, EngagementRoleCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to roles for employeeExperience
+ * @param body The request body
+ * @return a {@link EngagementRole}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to roles for employeeExperience
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EngagementRole}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRole post(@jakarta.annotation.Nonnull final EngagementRole 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, EngagementRole::createFromDiscriminatorValue);
+ }
+ /**
+ * Get a list of all the roles that can be assigned in Viva Engage.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get a list of all the roles that can be assigned in Viva Engage.
+ * @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 roles for employeeExperience
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to roles for employeeExperience
+ * @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 EngagementRole 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 RolesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RolesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RolesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get a list of all the roles that can be assigned in Viva Engage.
+ */
+ @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/employeeexperience/roles/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..4f30b0dc0ff
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.employeeexperience.roles.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}/employeeExperience/roles/$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}/employeeExperience/roles/$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/identity/productchanges/item/ChangeItemBaseItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java
similarity index 64%
rename from src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/item/ChangeItemBaseItemRequestBuilder.java
rename to src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java
index 5ceecddab2a..8e124ab749c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identity/productchanges/item/ChangeItemBaseItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/EngagementRoleItemRequestBuilder.java
@@ -1,6 +1,7 @@
-package com.microsoft.graph.beta.identity.productchanges.item;
+package com.microsoft.graph.beta.employeeexperience.roles.item;
-import com.microsoft.graph.beta.models.ChangeItemBase;
+import com.microsoft.graph.beta.employeeexperience.roles.item.members.MembersRequestBuilder;
+import com.microsoft.graph.beta.models.EngagementRole;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
@@ -16,44 +17,46 @@
import java.util.Map;
import java.util.Objects;
/**
- * Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity.
+ * Provides operations to manage the roles property of the microsoft.graph.employeeExperience entity.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
-public class ChangeItemBaseItemRequestBuilder extends BaseRequestBuilder {
+public class EngagementRoleItemRequestBuilder extends BaseRequestBuilder {
/**
- * Instantiates a new {@link ChangeItemBaseItemRequestBuilder} and sets the default values.
+ * Provides operations to manage the members property of the microsoft.graph.engagementRole entity.
+ * @return a {@link MembersRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public MembersRequestBuilder members() {
+ return new MembersRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link EngagementRoleItemRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
*/
- public ChangeItemBaseItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identity/productChanges/{changeItemBase%2Did}{?%24expand,%24select}", pathParameters);
+ public EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", pathParameters);
}
/**
- * Instantiates a new {@link ChangeItemBaseItemRequestBuilder} and sets the default values.
+ * Instantiates a new {@link EngagementRoleItemRequestBuilder} 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 ChangeItemBaseItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/identity/productChanges/{changeItemBase%2Did}{?%24expand,%24select}", rawUrl);
+ public EngagementRoleItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete navigation property productChanges for identity
+ * Delete navigation property roles for employeeExperience
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
- @Deprecated
public void delete() {
delete(null);
}
/**
- * Delete navigation property productChanges for identity
+ * Delete navigation property roles for employeeExperience
* @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
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
- @Deprecated
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -61,109 +64,85 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Represents entry point for Microsoft Entra product changes and planned new features.
- * @return a {@link ChangeItemBase}
+ * A collection of roles in Viva Engage.
+ * @return a {@link EngagementRole}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBase get() {
+ public EngagementRole get() {
return get(null);
}
/**
- * Represents entry point for Microsoft Entra product changes and planned new features.
+ * A collection of roles in Viva Engage.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link ChangeItemBase}
+ * @return a {@link EngagementRole}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBase get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public EngagementRole 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, ChangeItemBase::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, EngagementRole::createFromDiscriminatorValue);
}
/**
- * Update the navigation property productChanges in identity
+ * Update the navigation property roles in employeeExperience
* @param body The request body
- * @return a {@link ChangeItemBase}
+ * @return a {@link EngagementRole}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBase patch(@jakarta.annotation.Nonnull final ChangeItemBase body) {
+ public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole body) {
return patch(body, null);
}
/**
- * Update the navigation property productChanges in identity
+ * Update the navigation property roles in employeeExperience
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link ChangeItemBase}
+ * @return a {@link EngagementRole}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nullable
- @Deprecated
- public ChangeItemBase patch(@jakarta.annotation.Nonnull final ChangeItemBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public EngagementRole patch(@jakarta.annotation.Nonnull final EngagementRole 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, ChangeItemBase::createFromDiscriminatorValue);
+ return this.requestAdapter.send(requestInfo, errorMapping, EngagementRole::createFromDiscriminatorValue);
}
/**
- * Delete navigation property productChanges for identity
+ * Delete navigation property roles for employeeExperience
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete navigation property productChanges for identity
+ * Delete navigation property roles for employeeExperience
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
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);
return requestInfo;
}
/**
- * Represents entry point for Microsoft Entra product changes and planned new features.
+ * A collection of roles in Viva Engage.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Represents entry point for Microsoft Entra product changes and planned new features.
+ * A collection of roles in Viva Engage.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
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);
@@ -171,28 +150,22 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the navigation property productChanges in identity
+ * Update the navigation property roles in employeeExperience
* @param body The request body
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChangeItemBase body) {
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRole body) {
return toPatchRequestInformation(body, null);
}
/**
- * Update the navigation property productChanges in identity
+ * Update the navigation property roles in employeeExperience
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ChangeItemBase body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRole 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);
@@ -203,15 +176,12 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
/**
* 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 ChangeItemBaseItemRequestBuilder}
- * @deprecated
- * What's new API is being deprecated and will be removed. as of 2025-04/changeManagement on 2025-04-15 and will be removed 2025-05-15
+ * @return a {@link EngagementRoleItemRequestBuilder}
*/
@jakarta.annotation.Nonnull
- @Deprecated
- public ChangeItemBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ public EngagementRoleItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
- return new ChangeItemBaseItemRequestBuilder(rawUrl, requestAdapter);
+ return new EngagementRoleItemRequestBuilder(rawUrl, requestAdapter);
}
/**
* Configuration for the request such as headers, query parameters, and middleware options.
@@ -220,7 +190,7 @@ public ChangeItemBaseItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Represents entry point for Microsoft Entra product changes and planned new features.
+ * A collection of roles in Viva Engage.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/MembersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/MembersRequestBuilder.java
new file mode 100644
index 00000000000..bbfe79df884
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/MembersRequestBuilder.java
@@ -0,0 +1,247 @@
+package com.microsoft.graph.beta.employeeexperience.roles.item.members;
+
+import com.microsoft.graph.beta.employeeexperience.roles.item.members.count.CountRequestBuilder;
+import com.microsoft.graph.beta.employeeexperience.roles.item.members.item.EngagementRoleMemberItemRequestBuilder;
+import com.microsoft.graph.beta.models.EngagementRoleMember;
+import com.microsoft.graph.beta.models.EngagementRoleMemberCollectionResponse;
+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 members property of the microsoft.graph.engagementRole entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class MembersRequestBuilder 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 members property of the microsoft.graph.engagementRole entity.
+ * @param engagementRoleMemberId The unique identifier of engagementRoleMember
+ * @return a {@link EngagementRoleMemberItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public EngagementRoleMemberItemRequestBuilder byEngagementRoleMemberId(@jakarta.annotation.Nonnull final String engagementRoleMemberId) {
+ Objects.requireNonNull(engagementRoleMemberId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("engagementRoleMember%2Did", engagementRoleMemberId);
+ return new EngagementRoleMemberItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link MembersRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MembersRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link MembersRequestBuilder} 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 MembersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get a list of the engagementRoleMember objects and their properties.
+ * @return a {@link EngagementRoleMemberCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMemberCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get a list of the engagementRoleMember objects and their properties.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EngagementRoleMemberCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMemberCollectionResponse 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, EngagementRoleMemberCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Assign a Viva Engage role to a user.
+ * @param body The request body
+ * @return a {@link EngagementRoleMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMember post(@jakarta.annotation.Nonnull final EngagementRoleMember body) {
+ return post(body, null);
+ }
+ /**
+ * Assign a Viva Engage role to a user.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EngagementRoleMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMember post(@jakarta.annotation.Nonnull final EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue);
+ }
+ /**
+ * Get a list of the engagementRoleMember objects and their properties.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get a list of the engagementRoleMember 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;
+ }
+ /**
+ * Assign a Viva Engage role to a user.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Assign a Viva Engage role to a user.
+ * @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 EngagementRoleMember 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 MembersRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public MembersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new MembersRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get a list of the engagementRoleMember 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/employeeexperience/roles/item/members/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..da12d6538f4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.employeeexperience.roles.item.members.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}/employeeExperience/roles/{engagementRole%2Did}/members/$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}/employeeExperience/roles/{engagementRole%2Did}/members/$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/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java
new file mode 100644
index 00000000000..31eb463accf
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/EngagementRoleMemberItemRequestBuilder.java
@@ -0,0 +1,238 @@
+package com.microsoft.graph.beta.employeeexperience.roles.item.members.item;
+
+import com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.UserRequestBuilder;
+import com.microsoft.graph.beta.models.EngagementRoleMember;
+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 members property of the microsoft.graph.engagementRole entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class EngagementRoleMemberItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the user property of the microsoft.graph.engagementRoleMember entity.
+ * @return a {@link UserRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UserRequestBuilder user() {
+ return new UserRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link EngagementRoleMemberItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public EngagementRoleMemberItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link EngagementRoleMemberItemRequestBuilder} 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 EngagementRoleMemberItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete a Viva Engage role from a user.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete a Viva Engage role from a user.
+ * @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);
+ }
+ /**
+ * Users who have been assigned this role.
+ * @return a {@link EngagementRoleMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMember get() {
+ return get(null);
+ }
+ /**
+ * Users who have been assigned this role.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EngagementRoleMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property members in employeeExperience
+ * @param body The request body
+ * @return a {@link EngagementRoleMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property members in employeeExperience
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EngagementRoleMember}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EngagementRoleMember patch(@jakarta.annotation.Nonnull final EngagementRoleMember 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, EngagementRoleMember::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete a Viva Engage role from a user.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete a Viva Engage role from a user.
+ * @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);
+ return requestInfo;
+ }
+ /**
+ * Users who have been assigned this role.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Users who have been assigned this role.
+ * @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 members in employeeExperience
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final EngagementRoleMember body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property members in employeeExperience
+ * @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 EngagementRoleMember 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 EngagementRoleMemberItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public EngagementRoleMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new EngagementRoleMemberItemRequestBuilder(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 {
+ }
+ /**
+ * Users who have been assigned this role.
+ */
+ @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/employeeexperience/roles/item/members/item/user/UserRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/UserRequestBuilder.java
new file mode 100644
index 00000000000..319bba62a31
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/UserRequestBuilder.java
@@ -0,0 +1,147 @@
+package com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user;
+
+import com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.mailboxsettings.MailboxSettingsRequestBuilder;
+import com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.ServiceProvisioningErrorsRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.User;
+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 user property of the microsoft.graph.engagementRoleMember entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class UserRequestBuilder extends BaseRequestBuilder {
+ /**
+ * The mailboxSettings property
+ * @return a {@link MailboxSettingsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public MailboxSettingsRequestBuilder mailboxSettings() {
+ return new MailboxSettingsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * The serviceProvisioningErrors property
+ * @return a {@link ServiceProvisioningErrorsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ServiceProvisioningErrorsRequestBuilder serviceProvisioningErrors() {
+ return new ServiceProvisioningErrorsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link UserRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public UserRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link UserRequestBuilder} 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 UserRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * User entity of the member who has been assigned the role.
+ * @return a {@link User}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public User get() {
+ return get(null);
+ }
+ /**
+ * User entity of the member who has been assigned the role.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link User}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public User 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, User::createFromDiscriminatorValue);
+ }
+ /**
+ * User entity of the member who has been assigned the role.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * User entity of the member who has been assigned the role.
+ * @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;
+ }
+ /**
+ * 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 UserRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UserRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new UserRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * User entity of the member who has been assigned the role.
+ */
+ @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();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java
new file mode 100644
index 00000000000..f20d2eb3275
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/mailboxsettings/MailboxSettingsRequestBuilder.java
@@ -0,0 +1,184 @@
+package com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.mailboxsettings;
+
+import com.microsoft.graph.beta.models.MailboxSettings;
+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;
+/**
+ * Builds and executes requests for operations under /employeeExperience/roles/{engagementRole-id}/members/{engagementRoleMember-id}/user/mailboxSettings
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class MailboxSettingsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link MailboxSettingsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link MailboxSettingsRequestBuilder} 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 MailboxSettingsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/mailboxSettings{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select.
+ * @return a {@link MailboxSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public MailboxSettings get() {
+ return get(null);
+ }
+ /**
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link MailboxSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public MailboxSettings 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, MailboxSettings::createFromDiscriminatorValue);
+ }
+ /**
+ * Update property mailboxSettings value.
+ * @param body The request body
+ * @return a {@link MailboxSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings body) {
+ return patch(body, null);
+ }
+ /**
+ * Update property mailboxSettings value.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link MailboxSettings}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public MailboxSettings patch(@jakarta.annotation.Nonnull final MailboxSettings 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, MailboxSettings::createFromDiscriminatorValue);
+ }
+ /**
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select.
+ * @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 property mailboxSettings value.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final MailboxSettings body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update property mailboxSettings value.
+ * @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 MailboxSettings 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 MailboxSettingsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public MailboxSettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new MailboxSettingsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. For more information, see User preferences for languages and regional formats. Returned only on $select.
+ */
+ @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/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java
new file mode 100644
index 00000000000..60035f07908
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/ServiceProvisioningErrorsRequestBuilder.java
@@ -0,0 +1,174 @@
+package com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors;
+
+import com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.count.CountRequestBuilder;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.ServiceProvisioningErrorCollectionResponse;
+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;
+/**
+ * Builds and executes requests for operations under /employeeExperience/roles/{engagementRole-id}/members/{engagementRoleMember-id}/user/serviceProvisioningErrors
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ServiceProvisioningErrorsRequestBuilder 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);
+ }
+ /**
+ * Instantiates a new {@link ServiceProvisioningErrorsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ServiceProvisioningErrorsRequestBuilder} 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 ServiceProvisioningErrorsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object.
+ * @return a {@link ServiceProvisioningErrorCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ServiceProvisioningErrorCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ServiceProvisioningErrorCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ServiceProvisioningErrorCollectionResponse 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, ServiceProvisioningErrorCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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;
+ }
+ /**
+ * 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 ServiceProvisioningErrorsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ServiceProvisioningErrorsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ServiceProvisioningErrorsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Errors published by a federated service describing a nontransient, service-specific error regarding the properties or link from a user 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();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..d9ab391ca60
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/employeeexperience/roles/item/members/item/user/serviceprovisioningerrors/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.employeeexperience.roles.item.members.item.user.serviceprovisioningerrors.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}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$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}/employeeExperience/roles/{engagementRole%2Did}/members/{engagementRoleMember%2Did}/user/serviceProvisioningErrors/$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/connections/item/items/item/ExternalItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java
index 8d93e8613ca..1ebb67081c9 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
@@ -99,23 +99,23 @@ public ExternalItem get(@jakarta.annotation.Nullable final java.util.function.Co
return this.requestAdapter.send(requestInfo, errorMapping, ExternalItem::createFromDiscriminatorValue);
}
/**
- * Update the properties of an externalitem.
+ * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type.
* @param body The request body
* @return a {@link ExternalItem}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ExternalItem put(@jakarta.annotation.Nonnull final ExternalItem body) {
return put(body, null);
}
/**
- * Update the properties of an externalitem.
+ * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ExternalItem}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ExternalItem put(@jakarta.annotation.Nonnull final ExternalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -165,7 +165,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of an externalitem.
+ * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -174,7 +174,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi
return toPutRequestInformation(body, null);
}
/**
- * Update the properties of an externalitem.
+ * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type.
* @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/external/connections/item/schema/SchemaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/schema/SchemaRequestBuilder.java
index 0aee76cfb16..05701d147cd 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
@@ -61,23 +61,23 @@ public Schema get(@jakarta.annotation.Nullable final java.util.function.Consumer
return this.requestAdapter.send(requestInfo, errorMapping, Schema::createFromDiscriminatorValue);
}
/**
- * Create a new or update an existing schema for a Microsoft Search connection.
+ * Update the properties of a schema for an externalConnection.
* @param body The request body
* @return a {@link Schema}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public Schema patch(@jakarta.annotation.Nonnull final Schema body) {
return patch(body, null);
}
/**
- * Create a new or update an existing schema for a Microsoft Search connection.
+ * Update the properties of a schema for an externalConnection.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Schema}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public Schema patch(@jakarta.annotation.Nonnull final Schema body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -108,7 +108,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new or update an existing schema for a Microsoft Search connection.
+ * Update the properties of a schema for an externalConnection.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -117,7 +117,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Create a new or update an existing schema for a Microsoft Search connection.
+ * Update the properties of a schema for an externalConnection.
* @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/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java
index 38ccb12a9a3..0d7a64b8942 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 inboundApiFlow 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 inboundApiFlow 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) {
@@ -165,7 +165,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of an inboundApiFlow object.
+ * Update the properties of an inboundFileFlow object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -174,7 +174,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of an inboundApiFlow 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}
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 f6c25c82474..ae9adcbc3b1 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 the 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.
+ * 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 the 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.
+ * 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 the 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.
+ * 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 the 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.
+ * 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}
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 0d4a96e9fbd..d101eebe4fb 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
@@ -84,23 +84,23 @@ public ConversationCollectionResponse get(@jakarta.annotation.Nullable final jav
return this.requestAdapter.send(requestInfo, errorMapping, ConversationCollectionResponse::createFromDiscriminatorValue);
}
/**
- * 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.
+ * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation.
* @param body The request body
* @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 post(@jakarta.annotation.Nonnull final Conversation body) {
return post(body, null);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation.
* @param body The request body
* @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 post(@jakarta.annotation.Nonnull final Conversation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * 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.
+ * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create 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.
+ * Create a new conversation by including a thread and a post. Use reply thread or reply post to further post to that conversation.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java
index ca8243fa20d..2e2bed4a7ce 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}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete conversation.
+ * Delete a group's conversation 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 conversation.
+ * Delete a group's conversation 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);
@@ -90,7 +90,7 @@ public Conversation get(@jakarta.annotation.Nullable final java.util.function.Co
return this.requestAdapter.send(requestInfo, errorMapping, Conversation::createFromDiscriminatorValue);
}
/**
- * Delete conversation.
+ * Delete a group's conversation object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -98,7 +98,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete conversation.
+ * Delete a group's conversation object.
* @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/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 351067d851f..2a696e26c4f 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);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) {
post(body, null);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/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 0f5357b3b75..0497c144f48 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
@@ -2,6 +2,7 @@
import com.microsoft.graph.beta.groups.item.team.schedule.timecards.item.clockout.ClockOutRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.schedule.timecards.item.confirm.ConfirmRequestBuilder;
+import com.microsoft.graph.beta.groups.item.team.schedule.timecards.item.confirmforuser.ConfirmForUserRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.schedule.timecards.item.endbreak.EndBreakRequestBuilder;
import com.microsoft.graph.beta.groups.item.team.schedule.timecards.item.startbreak.StartBreakRequestBuilder;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
@@ -40,6 +41,14 @@ public ClockOutRequestBuilder clockOut() {
public ConfirmRequestBuilder confirm() {
return new ConfirmRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the confirmForUser method.
+ * @return a {@link ConfirmForUserRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ConfirmForUserRequestBuilder confirmForUser() {
+ return new ConfirmForUserRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the endBreak method.
* @return a {@link EndBreakRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/confirmforuser/ConfirmForUserPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/confirmforuser/ConfirmForUserPostRequestBody.java
new file mode 100644
index 00000000000..c76e67b1ceb
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/confirmforuser/ConfirmForUserPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.groups.item.team.schedule.timecards.item.confirmforuser;
+
+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 ConfirmForUserPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ConfirmForUserPostRequestBody} and sets the default values.
+ */
+ public ConfirmForUserPostRequestBody() {
+ 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 ConfirmForUserPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static ConfirmForUserPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ConfirmForUserPostRequestBody();
+ }
+ /**
+ * 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("userId", (n) -> { this.setUserId(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the userId property value. The userId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getUserId() {
+ return this.backingStore.get("userId");
+ }
+ /**
+ * 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("userId", this.getUserId());
+ 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 userId property value. The userId property
+ * @param value Value to set for the userId property.
+ */
+ public void setUserId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("userId", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/confirmforuser/ConfirmForUserRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/confirmforuser/ConfirmForUserRequestBuilder.java
new file mode 100644
index 00000000000..bdbefebbc26
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/team/schedule/timecards/item/confirmforuser/ConfirmForUserRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.groups.item.team.schedule.timecards.item.confirmforuser;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.graph.beta.models.TimeCard;
+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 confirmForUser method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ConfirmForUserRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ConfirmForUserRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ConfirmForUserRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirmForUser", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ConfirmForUserRequestBuilder} 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 ConfirmForUserRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/schedule/timeCards/{timeCard%2Did}/confirmForUser", rawUrl);
+ }
+ /**
+ * Invoke action confirmForUser
+ * @param body The request body
+ * @return a {@link TimeCard}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TimeCard post(@jakarta.annotation.Nonnull final ConfirmForUserPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action confirmForUser
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link TimeCard}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public TimeCard post(@jakarta.annotation.Nonnull final ConfirmForUserPostRequestBody 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, TimeCard::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke action confirmForUser
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfirmForUserPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action confirmForUser
+ * @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 ConfirmForUserPostRequestBody 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 ConfirmForUserRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ConfirmForUserRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ConfirmForUserRequestBuilder(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/groups/item/threads/item/ConversationThreadItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java
index a8a84d6ba6a..068112e1d4d 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
@@ -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) {
@@ -145,7 +145,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
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
@@ -153,7 +153,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}
*/
@@ -205,7 +205,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/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java
index b203c38d003..3d919c3b107 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);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) {
post(body, null);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
Objects.requireNonNull(body);
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions.
+ * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/IdentityRequestBuilder.java
index 4a2f0777425..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
@@ -9,7 +9,6 @@
import com.microsoft.graph.beta.identity.continuousaccessevaluationpolicy.ContinuousAccessEvaluationPolicyRequestBuilder;
import com.microsoft.graph.beta.identity.customauthenticationextensions.CustomAuthenticationExtensionsRequestBuilder;
import com.microsoft.graph.beta.identity.identityproviders.IdentityProvidersRequestBuilder;
-import com.microsoft.graph.beta.identity.productchanges.ProductChangesRequestBuilder;
import com.microsoft.graph.beta.identity.userflowattributes.UserFlowAttributesRequestBuilder;
import com.microsoft.graph.beta.identity.userflows.UserFlowsRequestBuilder;
import com.microsoft.graph.beta.models.IdentityContainer;
@@ -104,14 +103,6 @@ public CustomAuthenticationExtensionsRequestBuilder customAuthenticationExtensio
public IdentityProvidersRequestBuilder identityProviders() {
return new IdentityProvidersRequestBuilder(pathParameters, requestAdapter);
}
- /**
- * Provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity.
- * @return a {@link ProductChangesRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public ProductChangesRequestBuilder productChanges() {
- return new ProductChangesRequestBuilder(pathParameters, requestAdapter);
- }
/**
* Provides operations to manage the userFlowAttributes property of the microsoft.graph.identityContainer entity.
* @return a {@link UserFlowAttributesRequestBuilder}
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 9353e3e517d..15d54cf0b29 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 accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: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 on 2023-03-01 and will be removed 2023-12-31
- * @see Find more info here
+ * @see Find more info here
*/
@Deprecated
public void delete() {
delete(null);
}
/**
- * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: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 on 2023-03-01 and will be removed 2023-12-31
- * @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 accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: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 on 2023-03-01 and will be removed 2023-12-31
@@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete an accessPackageAssignmentRequestWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies: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
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 4a08220d723..ca965533d13 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
@@ -140,21 +140,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @return a {@link AccessPackage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public AccessPackage get() {
return get(null);
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AccessPackage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -210,7 +210,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -218,7 +218,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -270,7 +270,7 @@ public AccessPackageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java
index fed2e346711..8b8bb92bbdd 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackageswithuniquename/AccessPackagesWithUniqueNameRequestBuilder.java
@@ -77,21 +77,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @return a {@link AccessPackage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public AccessPackage get() {
return get(null);
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AccessPackage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public AccessPackage get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -147,7 +147,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -155,7 +155,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -207,7 +207,7 @@ public AccessPackagesWithUniqueNameRequestBuilder withUrl(@jakarta.annotation.No
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope.
+ * Retrieve the properties and relationships of an accessPackage object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 40c5ed62c21..bf2df78743e 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
@@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Retrieve the properties of a riskDetection object.
+ * Retrieve the properties of a collection of riskDetection objects.
* @return a {@link RiskDetection}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RiskDetection get() {
return get(null);
}
/**
- * Retrieve the properties of a riskDetection object.
+ * Retrieve the properties of a collection of riskDetection objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RiskDetection}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RiskDetection get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -123,7 +123,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Retrieve the properties of a riskDetection object.
+ * Retrieve the properties of a collection of riskDetection objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Retrieve the properties of a riskDetection object.
+ * Retrieve the properties of a collection of riskDetection objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -183,7 +183,7 @@ public RiskDetectionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Retrieve the properties of a riskDetection object.
+ * Retrieve the properties of a collection of riskDetection objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
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 8a96b5ab8af..d4dc683b1cd 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
@@ -1,6 +1,7 @@
package com.microsoft.graph.beta.identityprotection.riskyusers;
import com.microsoft.graph.beta.identityprotection.riskyusers.confirmcompromised.ConfirmCompromisedRequestBuilder;
+import com.microsoft.graph.beta.identityprotection.riskyusers.confirmsafe.ConfirmSafeRequestBuilder;
import com.microsoft.graph.beta.identityprotection.riskyusers.count.CountRequestBuilder;
import com.microsoft.graph.beta.identityprotection.riskyusers.dismiss.DismissRequestBuilder;
import com.microsoft.graph.beta.identityprotection.riskyusers.item.RiskyUserItemRequestBuilder;
@@ -33,6 +34,14 @@ public class RiskyUsersRequestBuilder extends BaseRequestBuilder {
public ConfirmCompromisedRequestBuilder confirmCompromised() {
return new ConfirmCompromisedRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the confirmSafe method.
+ * @return a {@link ConfirmSafeRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ConfirmSafeRequestBuilder confirmSafe() {
+ return new ConfirmSafeRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to count the resources in the collection.
* @return a {@link CountRequestBuilder}
@@ -78,21 +87,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 +136,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 +144,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}
*/
@@ -181,7 +190,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/confirmsafe/ConfirmSafePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/confirmsafe/ConfirmSafePostRequestBody.java
new file mode 100644
index 00000000000..3982f71f726
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/confirmsafe/ConfirmSafePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.identityprotection.riskyusers.confirmsafe;
+
+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 ConfirmSafePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ConfirmSafePostRequestBody} and sets the default values.
+ */
+ public ConfirmSafePostRequestBody() {
+ 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 ConfirmSafePostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static ConfirmSafePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ConfirmSafePostRequestBody();
+ }
+ /**
+ * 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("userIds", (n) -> { this.setUserIds(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the userIds property value. The userIds property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getUserIds() {
+ return this.backingStore.get("userIds");
+ }
+ /**
+ * 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.writeCollectionOfPrimitiveValues("userIds", this.getUserIds());
+ 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 userIds property value. The userIds property
+ * @param value Value to set for the userIds property.
+ */
+ public void setUserIds(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("userIds", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/confirmsafe/ConfirmSafeRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/confirmsafe/ConfirmSafeRequestBuilder.java
new file mode 100644
index 00000000000..a984ff28200
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/identityprotection/riskyusers/confirmsafe/ConfirmSafeRequestBuilder.java
@@ -0,0 +1,99 @@
+package com.microsoft.graph.beta.identityprotection.riskyusers.confirmsafe;
+
+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 confirmSafe method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ConfirmSafeRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ConfirmSafeRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ConfirmSafeRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/identityProtection/riskyUsers/confirmSafe", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ConfirmSafeRequestBuilder} 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 ConfirmSafeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/identityProtection/riskyUsers/confirmSafe", rawUrl);
+ }
+ /**
+ * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none.
+ * @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 ConfirmSafePostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none.
+ * @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 ConfirmSafePostRequestBody 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);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ConfirmSafePostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Confirm one or more riskyUser objects as safe. This action sets the targeted user's risk level to none.
+ * @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 ConfirmSafePostRequestBody 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.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 ConfirmSafeRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ConfirmSafeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ConfirmSafeRequestBuilder(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/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt
index 3bbdae32d9b..0eac326a986 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt
+++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt
@@ -1922,6 +1922,8 @@ com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|patch(body:P
com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|patch(body:PeopleAdminSettings; requestConfiguration?:java.util.function.Consumer):PeopleAdminSettings
com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profileCardProperties:ProfileCardPropertiesRequestBuilder
com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profilePropertySettings:ProfilePropertySettingsRequestBuilder
+com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profileSources:ProfileSourcesRequestBuilder
+com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|profileSourcesWithSourceId(sourceId:String):ProfileSourcesWithSourceIdRequestBuilder
com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|pronouns:PronounsRequestBuilder
com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|toDeleteRequestInformation():RequestInformation
com.microsoft.graph.beta.admin.people.PeopleRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation
@@ -2060,6 +2062,95 @@ com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySet
com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|toPostRequestInformation(body:ProfilePropertySetting):RequestInformation
com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|toPostRequestInformation(body:ProfilePropertySetting; requestConfiguration?:java.util.function.Consumer):RequestInformation
com.microsoft.graph.beta.admin.people.profilepropertysettings.ProfilePropertySettingsRequestBuilder::|public|withUrl(rawUrl:String):ProfilePropertySettingsRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder-->BaseRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters::|public|filter:String
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters::|public|search:String
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder::|public|get():Integer
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder-->BaseRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters::|public|expand:String[]
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters::|public|select:String[]
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetQueryParameters~~>QueryParameters
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|delete():Void
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|get():ProfileSource
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ProfileSource
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|patch(body:ProfileSource):ProfileSource
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|patch(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):ProfileSource
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toGetRequestInformation():RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toPatchRequestInformation(body:ProfileSource):RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|toPatchRequestInformation(body:ProfileSource; requestConfiguration?:java.util.function.Consumer):RequestInformation
+com.microsoft.graph.beta.admin.people.profilesources.item.ProfileSourceItemRequestBuilder::|public|withUrl(rawUrl:String):ProfileSourceItemRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder-->BaseRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|count:Boolean
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|expand:String[]
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|filter:String
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|orderby:String[]
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|search:String
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|select:String[]
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|skip:Integer
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|top:Integer
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetQueryParameters~~>QueryParameters
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|byProfileSourceId(profileSourceId:String):ProfileSourceItemRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|count:CountRequestBuilder
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|get():ProfileSourceCollectionResponse
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ProfileSourceCollectionResponse
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|post(body:ProfileSource):ProfileSource
+com.microsoft.graph.beta.admin.people.profilesources.ProfileSourcesRequestBuilder::|public|post(body:ProfileSource; requestConfiguration?:java.util.function.Consumer