diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1a0b726f0f8..07664f92284 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+## [6.5.0] - 2024-03-26
+
+### Added
+
+- Weekly generated v1.0 models and request builders using Kiota
+
## [6.4.0] - 2024-02-28
### Added
diff --git a/README.md b/README.md
index 05bbc662f4a..ecb457882e7 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
- implementation 'com.microsoft.graph:microsoft-graph:6.4.0'
+ implementation 'com.microsoft.graph:microsoft-graph:6.5.0'
// This dependency is only needed if you are using a TokenCredential object for authentication
implementation 'com.azure:azure-identity:1.11.0'
}
@@ -35,7 +35,7 @@ Add the dependency in `dependencies` in pom.xml
com.microsoft.graph
microsoft-graph
- 6.4.0
+ 6.5.0
@@ -119,3 +119,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
+
diff --git a/gradle.properties b/gradle.properties
index 19a42308fa3..c6a0b9e2732 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 6
-mavenMinorVersion = 4
+mavenMinorVersion = 5
mavenPatchVersion = 0
mavenArtifactSuffix =
@@ -124,5 +124,6 @@ mavenCentralPublishingEnabled=true
+
diff --git a/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java
index e8685acc68a..af485ffafb1 100644
--- a/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/admin/AdminRequestBuilder.java
@@ -1,6 +1,7 @@
package com.microsoft.graph.admin;
import com.microsoft.graph.admin.edge.EdgeRequestBuilder;
+import com.microsoft.graph.admin.microsoft365apps.Microsoft365AppsRequestBuilder;
import com.microsoft.graph.admin.people.PeopleRequestBuilder;
import com.microsoft.graph.admin.serviceannouncement.ServiceAnnouncementRequestBuilder;
import com.microsoft.graph.admin.sharepoint.SharepointRequestBuilder;
@@ -32,6 +33,14 @@ public class AdminRequestBuilder extends BaseRequestBuilder {
public EdgeRequestBuilder edge() {
return new EdgeRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity.
+ * @return a {@link Microsoft365AppsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public Microsoft365AppsRequestBuilder microsoft365Apps() {
+ return new Microsoft365AppsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the people property of the microsoft.graph.admin entity.
* @return a {@link PeopleRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/generated/admin/microsoft365apps/Microsoft365AppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/microsoft365apps/Microsoft365AppsRequestBuilder.java
new file mode 100644
index 00000000000..b0cf2bd1bba
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/admin/microsoft365apps/Microsoft365AppsRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.admin.microsoft365apps;
+
+import com.microsoft.graph.admin.microsoft365apps.installationoptions.InstallationOptionsRequestBuilder;
+import com.microsoft.graph.models.AdminMicrosoft365Apps;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 microsoft365Apps property of the microsoft.graph.admin entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class Microsoft365AppsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the installationOptions property of the microsoft.graph.adminMicrosoft365Apps entity.
+ * @return a {@link InstallationOptionsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public InstallationOptionsRequestBuilder installationOptions() {
+ return new InstallationOptionsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link Microsoft365AppsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public Microsoft365AppsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/microsoft365Apps{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link Microsoft365AppsRequestBuilder} 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 Microsoft365AppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/microsoft365Apps{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property microsoft365Apps for admin
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property microsoft365Apps for admin
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * A container for the Microsoft 365 apps admin functionality.
+ * @return a {@link AdminMicrosoft365Apps}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AdminMicrosoft365Apps get() {
+ return get(null);
+ }
+ /**
+ * A container for the Microsoft 365 apps admin functionality.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link AdminMicrosoft365Apps}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AdminMicrosoft365Apps 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, AdminMicrosoft365Apps::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property microsoft365Apps in admin
+ * @param body The request body
+ * @return a {@link AdminMicrosoft365Apps}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AdminMicrosoft365Apps patch(@jakarta.annotation.Nonnull final AdminMicrosoft365Apps body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property microsoft365Apps in admin
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link AdminMicrosoft365Apps}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AdminMicrosoft365Apps patch(@jakarta.annotation.Nonnull final AdminMicrosoft365Apps 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, AdminMicrosoft365Apps::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property microsoft365Apps for admin
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property microsoft365Apps for admin
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/microsoft365Apps", pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * A container for the Microsoft 365 apps admin functionality.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A container for the Microsoft 365 apps admin functionality.
+ * @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 microsoft365Apps in admin
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final AdminMicrosoft365Apps body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property microsoft365Apps in admin
+ * @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 AdminMicrosoft365Apps body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/microsoft365Apps", pathParameters);
+ 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 Microsoft365AppsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public Microsoft365AppsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new Microsoft365AppsRequestBuilder(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 container for the Microsoft 365 apps admin functionality.
+ */
+ @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/generated/admin/microsoft365apps/installationoptions/InstallationOptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/admin/microsoft365apps/installationoptions/InstallationOptionsRequestBuilder.java
new file mode 100644
index 00000000000..9e30632d251
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/admin/microsoft365apps/installationoptions/InstallationOptionsRequestBuilder.java
@@ -0,0 +1,232 @@
+package com.microsoft.graph.admin.microsoft365apps.installationoptions;
+
+import com.microsoft.graph.models.M365AppsInstallationOptions;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 installationOptions property of the microsoft.graph.adminMicrosoft365Apps entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class InstallationOptionsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link InstallationOptionsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public InstallationOptionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/microsoft365Apps/installationOptions{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link InstallationOptionsRequestBuilder} 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 InstallationOptionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/admin/microsoft365Apps/installationOptions{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property installationOptions for admin
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property installationOptions for admin
+ * @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 an m365AppsInstallationOptions object.
+ * @return a {@link M365AppsInstallationOptions}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public M365AppsInstallationOptions get() {
+ return get(null);
+ }
+ /**
+ * Read the properties and relationships of an m365AppsInstallationOptions object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link M365AppsInstallationOptions}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public M365AppsInstallationOptions 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, M365AppsInstallationOptions::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the properties of an m365AppsInstallationOptions object.
+ * @param body The request body
+ * @return a {@link M365AppsInstallationOptions}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public M365AppsInstallationOptions patch(@jakarta.annotation.Nonnull final M365AppsInstallationOptions body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the properties of an m365AppsInstallationOptions object.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link M365AppsInstallationOptions}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public M365AppsInstallationOptions patch(@jakarta.annotation.Nonnull final M365AppsInstallationOptions 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, M365AppsInstallationOptions::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property installationOptions for admin
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property installationOptions for admin
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/admin/microsoft365Apps/installationOptions", pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Read the properties and relationships of an m365AppsInstallationOptions object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read the properties and relationships of an m365AppsInstallationOptions object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the properties of an m365AppsInstallationOptions object.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final M365AppsInstallationOptions body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the properties of an m365AppsInstallationOptions 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 M365AppsInstallationOptions body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/admin/microsoft365Apps/installationOptions", pathParameters);
+ 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 InstallationOptionsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public InstallationOptionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new InstallationOptionsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class DeleteRequestConfiguration extends BaseRequestConfiguration {
+ }
+ /**
+ * Read the properties and relationships of an m365AppsInstallationOptions 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/generated/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java
index 89f999e9f34..44742531d2a 100644
--- a/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/bulkupload/BulkUploadRequestBuilder.java
@@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get bulkUpload from applications
+ * The bulk upload operation for the job.
* @return a {@link BulkUpload}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -73,7 +73,7 @@ public BulkUpload get() {
return get(null);
}
/**
- * Get bulkUpload from applications
+ * The bulk upload operation for the job.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link BulkUpload}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Get bulkUpload from applications
+ * The bulk upload operation for the job.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get bulkUpload from applications
+ * The bulk upload operation for the job.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -191,7 +191,7 @@ public BulkUploadRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get bulkUpload from applications
+ * The bulk upload operation for the job.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/instantiate/InstantiateRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/instantiate/InstantiateRequestBuilder.java
index cab16fe078c..3ba8ebf90ae 100644
--- a/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/instantiate/InstantiateRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/applicationtemplates/item/instantiate/InstantiateRequestBuilder.java
@@ -36,7 +36,7 @@ public InstantiateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/applicationTemplates/{applicationTemplate%2Did}/instantiate", rawUrl);
}
/**
- * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621.
+ * Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
* @param body The request body
* @return a {@link ApplicationServicePrincipal}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public ApplicationServicePrincipal post(@jakarta.annotation.Nonnull final Instan
return post(body, null);
}
/**
- * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621.
+ * Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ApplicationServicePrincipal}
@@ -63,7 +63,7 @@ public ApplicationServicePrincipal post(@jakarta.annotation.Nonnull final Instan
return this.requestAdapter.send(requestInfo, errorMapping, ApplicationServicePrincipal::createFromDiscriminatorValue);
}
/**
- * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621.
+ * Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Add an instance of an application from the Microsoft Entra application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621.
+ * Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java
index 1eeebe7e592..e3ad2028aa0 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/ChatItemRequestBuilder.java
@@ -145,16 +145,18 @@ public ChatItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @
super(requestAdapter, "{+baseurl}/chats/{chat%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete entity from chats
+ * Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins.
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete entity from chats
+ * Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins.
* @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);
@@ -214,7 +216,7 @@ public Chat patch(@jakarta.annotation.Nonnull final Chat body, @jakarta.annotati
return this.requestAdapter.send(requestInfo, errorMapping, Chat::createFromDiscriminatorValue);
}
/**
- * Delete entity from chats
+ * Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -222,7 +224,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete entity from chats
+ * Soft-delete a chat. When invoked with delegated permissions, this operation only works for tenant admins and Teams service admins.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.java
index c7ce885a61d..20a39a80531 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/lastmessagepreview/LastMessagePreviewRequestBuilder.java
@@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
+ * Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
* @return a {@link ChatMessageInfo}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -64,7 +64,7 @@ public ChatMessageInfo get() {
return get(null);
}
/**
- * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
+ * Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ChatMessageInfo}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
+ * Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
+ * Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -182,7 +182,7 @@ public LastMessagePreviewRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
+ * Preview of the last message sent in the chat. Null if no messages were sent in the chat. Currently, only the list chats operation supports this property.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java
index ab1ad5329e3..830d10ea316 100644
--- a/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/chats/item/messages/MessagesRequestBuilder.java
@@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java
return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
+ * Send a new chatMessage in the specified channel or a chat.
* @param body The request body
* @return a {@link ChatMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) {
return post(body, null);
}
/**
- * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
+ * Send a new chatMessage in the specified channel or a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ChatMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
+ * Send a new chatMessage in the specified channel or a chat.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message.
+ * Send a new chatMessage in the specified channel or a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java
index e7de0ab4fdc..80f9d54c81e 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java
@@ -175,7 +175,7 @@ public DeviceAppManagementRequestBuilder(@jakarta.annotation.Nonnull final Strin
* Read properties and relationships of the deviceAppManagement object.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get() {
@@ -186,7 +186,7 @@ public DeviceAppManagement get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java
index 3ab8f6dd84a..387e26d691d 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java
@@ -60,21 +60,21 @@ public ManagedAppPoliciesRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the managedAppProtection objects.
+ * List properties and relationships of the managedAppPolicy objects.
* @return a {@link ManagedAppPolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicyCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the managedAppProtection objects.
+ * List properties and relationships of the managedAppPolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppPolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -109,7 +109,7 @@ public ManagedAppPolicy post(@jakarta.annotation.Nonnull final ManagedAppPolicy
return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppPolicy::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the managedAppProtection objects.
+ * List properties and relationships of the managedAppPolicy objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -117,7 +117,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the managedAppProtection objects.
+ * List properties and relationships of the managedAppPolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -163,7 +163,7 @@ public ManagedAppPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
return new ManagedAppPoliciesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the managedAppProtection objects.
+ * List properties and relationships of the managedAppPolicy objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java
index df04745e902..11ee51ebda2 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java
@@ -64,21 +64,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppConfiguration object.
* @return a {@link ManagedAppPolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicy get() {
return get(null);
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppPolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -133,7 +133,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -141,7 +141,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -193,7 +193,7 @@ public ManagedAppPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the managedAppProtection object.
+ * Read properties and relationships of the managedAppConfiguration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java
index ca53a977492..1dd87be2ca1 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedappregistrations/item/ManagedAppRegistrationItemRequestBuilder.java
@@ -82,21 +82,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the iosManagedAppRegistration object.
+ * Read properties and relationships of the androidManagedAppRegistration object.
* @return a {@link ManagedAppRegistration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppRegistration get() {
return get(null);
}
/**
- * Read properties and relationships of the iosManagedAppRegistration object.
+ * Read properties and relationships of the androidManagedAppRegistration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppRegistration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedAppRegistration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -151,7 +151,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the iosManagedAppRegistration object.
+ * Read properties and relationships of the androidManagedAppRegistration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -159,7 +159,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the iosManagedAppRegistration object.
+ * Read properties and relationships of the androidManagedAppRegistration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -211,7 +211,7 @@ public ManagedAppRegistrationItemRequestBuilder withUrl(@jakarta.annotation.Nonn
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the iosManagedAppRegistration object.
+ * Read properties and relationships of the androidManagedAppRegistration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java
index 6de9a090186..1feef19f160 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/ManagedEBooksRequestBuilder.java
@@ -60,21 +60,21 @@ public ManagedEBooksRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @return a {@link ManagedEBookCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBookCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public ManagedEBook post(@jakarta.annotation.Nonnull final ManagedEBook body, @j
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBook::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -165,7 +165,7 @@ public ManagedEBooksRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
return new ManagedEBooksRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the iosVppEBook objects.
+ * List properties and relationships of the managedEBook objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java
index 3da4d09187c..00043b597dd 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/ManagedEBookItemRequestBuilder.java
@@ -102,21 +102,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the managedEBook object.
+ * Read properties and relationships of the iosVppEBook object.
* @return a {@link ManagedEBook}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBook get() {
return get(null);
}
/**
- * Read properties and relationships of the managedEBook object.
+ * Read properties and relationships of the iosVppEBook object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBook}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBook get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -173,7 +173,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the managedEBook object.
+ * Read properties and relationships of the iosVppEBook object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -181,7 +181,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedEBook object.
+ * Read properties and relationships of the iosVppEBook object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -233,7 +233,7 @@ public ManagedEBookItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the managedEBook object.
+ * Read properties and relationships of the iosVppEBook object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java
index d181f8cdc00..052bddc9f6d 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/AssignmentsRequestBuilder.java
@@ -60,21 +60,21 @@ public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @return a {@link ManagedEBookAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignmentCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBookAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignmentCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -84,23 +84,23 @@ public ManagedEBookAssignmentCollectionResponse get(@jakarta.annotation.Nullable
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignmentCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new managedEBookAssignment object.
+ * Create a new iosVppEBookAssignment object.
* @param body The request body
* @return a {@link ManagedEBookAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignment post(@jakarta.annotation.Nonnull final ManagedEBookAssignment body) {
return post(body, null);
}
/**
- * Create a new managedEBookAssignment object.
+ * Create a new iosVppEBookAssignment object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBookAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignment post(@jakarta.annotation.Nonnull final ManagedEBookAssignment body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public ManagedEBookAssignment post(@jakarta.annotation.Nonnull final ManagedEBoo
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignment::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new managedEBookAssignment object.
+ * Create a new iosVppEBookAssignment object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new managedEBookAssignment object.
+ * Create a new iosVppEBookAssignment object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -165,7 +165,7 @@ public AssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
return new AssignmentsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the managedEBookAssignment objects.
+ * List properties and relationships of the iosVppEBookAssignment objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java
index ae058e48187..3e5f7f8f1d6 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedebooks/item/assignments/item/ManagedEBookAssignmentItemRequestBuilder.java
@@ -37,18 +37,18 @@ public ManagedEBookAssignmentItemRequestBuilder(@jakarta.annotation.Nonnull fina
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @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 properties and relationships of the managedEBookAssignment object.
+ * Read properties and relationships of the iosVppEBookAssignment object.
* @return a {@link ManagedEBookAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignment get() {
return get(null);
}
/**
- * Read properties and relationships of the managedEBookAssignment object.
+ * Read properties and relationships of the iosVppEBookAssignment object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedEBookAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedEBookAssignment get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -108,7 +108,7 @@ public ManagedEBookAssignment patch(@jakarta.annotation.Nonnull final ManagedEBo
return this.requestAdapter.send(requestInfo, errorMapping, ManagedEBookAssignment::createFromDiscriminatorValue);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -116,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a managedEBookAssignment.
+ * Deletes a iosVppEBookAssignment.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -128,7 +128,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the managedEBookAssignment object.
+ * Read properties and relationships of the iosVppEBookAssignment object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -136,7 +136,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedEBookAssignment object.
+ * Read properties and relationships of the iosVppEBookAssignment object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -188,7 +188,7 @@ public ManagedEBookAssignmentItemRequestBuilder withUrl(@jakarta.annotation.Nonn
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the managedEBookAssignment object.
+ * Read properties and relationships of the iosVppEBookAssignment object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java
index 3cc067de2c2..f9c0bd81a31 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileappconfigurations/MobileAppConfigurationsRequestBuilder.java
@@ -60,21 +60,21 @@ public MobileAppConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileAppConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the iosMobileAppConfiguration objects.
+ * List properties and relationships of the managedDeviceMobileAppConfiguration objects.
* @return a {@link ManagedDeviceMobileAppConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedDeviceMobileAppConfigurationCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the iosMobileAppConfiguration objects.
+ * List properties and relationships of the managedDeviceMobileAppConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedDeviceMobileAppConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ManagedDeviceMobileAppConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public ManagedDeviceMobileAppConfiguration post(@jakarta.annotation.Nonnull fina
return this.requestAdapter.send(requestInfo, errorMapping, ManagedDeviceMobileAppConfiguration::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the iosMobileAppConfiguration objects.
+ * List properties and relationships of the managedDeviceMobileAppConfiguration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the iosMobileAppConfiguration objects.
+ * List properties and relationships of the managedDeviceMobileAppConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -165,7 +165,7 @@ public MobileAppConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new MobileAppConfigurationsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the iosMobileAppConfiguration objects.
+ * List properties and relationships of the managedDeviceMobileAppConfiguration objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java
index fad87b95190..d7b2dc7c379 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/MobileAppsRequestBuilder.java
@@ -204,21 +204,21 @@ public MobileAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the microsoftStoreForBusinessApp objects.
+ * List properties and relationships of the androidLobApp objects.
* @return a {@link MobileAppCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileAppCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the microsoftStoreForBusinessApp objects.
+ * List properties and relationships of the androidLobApp objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileAppCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileAppCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -228,23 +228,23 @@ public MobileAppCollectionResponse get(@jakarta.annotation.Nullable final java.u
return this.requestAdapter.send(requestInfo, errorMapping, MobileAppCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new managedIOSLobApp object.
+ * Create a new macOSLobApp object.
* @param body The request body
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body) {
return post(body, null);
}
/**
- * Create a new managedIOSLobApp object.
+ * Create a new macOSLobApp object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -255,7 +255,7 @@ public MobileApp post(@jakarta.annotation.Nonnull final MobileApp body, @jakarta
return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the microsoftStoreForBusinessApp objects.
+ * List properties and relationships of the androidLobApp objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -263,7 +263,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the microsoftStoreForBusinessApp objects.
+ * List properties and relationships of the androidLobApp objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -275,7 +275,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new managedIOSLobApp object.
+ * Create a new macOSLobApp object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -284,7 +284,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new managedIOSLobApp object.
+ * Create a new macOSLobApp object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -309,7 +309,7 @@ public MobileAppsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new MobileAppsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the microsoftStoreForBusinessApp objects.
+ * List properties and relationships of the androidLobApp objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java
index 84e758f73a6..5d423b3d68a 100644
--- a/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/deviceappmanagement/mobileapps/item/MobileAppItemRequestBuilder.java
@@ -208,18 +208,18 @@ public MobileAppItemRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a iosStoreApp.
+ * Deletes a iosiPadOSWebClip.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Deletes a iosStoreApp.
+ * Deletes a iosiPadOSWebClip.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -228,21 +228,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the managedAndroidStoreApp object.
+ * Read properties and relationships of the mobileLobApp object.
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp get() {
return get(null);
}
/**
- * Read properties and relationships of the managedAndroidStoreApp object.
+ * Read properties and relationships of the mobileLobApp object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MobileApp}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public MobileApp get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -279,7 +279,7 @@ public MobileApp patch(@jakarta.annotation.Nonnull final MobileApp body, @jakart
return this.requestAdapter.send(requestInfo, errorMapping, MobileApp::createFromDiscriminatorValue);
}
/**
- * Deletes a iosStoreApp.
+ * Deletes a iosiPadOSWebClip.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -287,7 +287,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a iosStoreApp.
+ * Deletes a iosiPadOSWebClip.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -299,7 +299,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the managedAndroidStoreApp object.
+ * Read properties and relationships of the mobileLobApp object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -307,7 +307,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the managedAndroidStoreApp object.
+ * Read properties and relationships of the mobileLobApp object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -359,7 +359,7 @@ public MobileAppItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the managedAndroidStoreApp object.
+ * Read properties and relationships of the mobileLobApp object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
index b77a811a765..a86b0e88016 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/DeviceManagementRequestBuilder.java
@@ -573,7 +573,7 @@ public DeviceManagementRequestBuilder(@jakarta.annotation.Nonnull final String r
* Read properties and relationships of the deviceManagement object.
* @return a {@link DeviceManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceManagement get() {
@@ -584,7 +584,7 @@ public DeviceManagement get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -608,7 +608,7 @@ public GetEffectivePermissionsWithScopeRequestBuilder getEffectivePermissionsWit
* @param body The request body
* @return a {@link DeviceManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement body) {
@@ -620,7 +620,7 @@ public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceManagement patch(@jakarta.annotation.Nonnull final DeviceManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java
index 403dce708f8..c3fc11e7c81 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/DeviceCompliancePoliciesRequestBuilder.java
@@ -60,21 +60,21 @@ public DeviceCompliancePoliciesRequestBuilder(@jakarta.annotation.Nonnull final
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the androidCompliancePolicy objects.
+ * List properties and relationships of the deviceCompliancePolicy objects.
* @return a {@link DeviceCompliancePolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicyCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the androidCompliancePolicy objects.
+ * List properties and relationships of the deviceCompliancePolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceCompliancePolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -84,23 +84,23 @@ public DeviceCompliancePolicyCollectionResponse get(@jakarta.annotation.Nullable
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicyCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new iosCompliancePolicy object.
+ * Create a new androidCompliancePolicy object.
* @param body The request body
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body) {
return post(body, null);
}
/**
- * Create a new iosCompliancePolicy object.
+ * Create a new androidCompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public DeviceCompliancePolicy post(@jakarta.annotation.Nonnull final DeviceCompl
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the androidCompliancePolicy objects.
+ * List properties and relationships of the deviceCompliancePolicy objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the androidCompliancePolicy objects.
+ * List properties and relationships of the deviceCompliancePolicy objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new iosCompliancePolicy object.
+ * Create a new androidCompliancePolicy object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new iosCompliancePolicy object.
+ * Create a new androidCompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -165,7 +165,7 @@ public DeviceCompliancePoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnul
return new DeviceCompliancePoliciesRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the androidCompliancePolicy objects.
+ * List properties and relationships of the deviceCompliancePolicy objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java
index 3bd534fadef..4af6c4cd2c3 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/devicecompliancepolicies/item/DeviceCompliancePolicyItemRequestBuilder.java
@@ -118,18 +118,18 @@ public DeviceCompliancePolicyItemRequestBuilder(@jakarta.annotation.Nonnull fina
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a androidWorkProfileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Deletes a androidWorkProfileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -138,21 +138,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10CompliancePolicy object.
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy get() {
return get(null);
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10CompliancePolicy object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -162,23 +162,23 @@ public DeviceCompliancePolicy get(@jakarta.annotation.Nullable final java.util.f
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue);
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows10CompliancePolicy object.
* @param body The request body
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body) {
return patch(body, null);
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows10CompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceCompliancePolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceCompliancePolicy body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -189,7 +189,7 @@ public DeviceCompliancePolicy patch(@jakarta.annotation.Nonnull final DeviceComp
return this.requestAdapter.send(requestInfo, errorMapping, DeviceCompliancePolicy::createFromDiscriminatorValue);
}
/**
- * Deletes a androidWorkProfileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -197,7 +197,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a androidWorkProfileCompliancePolicy.
+ * Deletes a androidCompliancePolicy.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -209,7 +209,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10CompliancePolicy object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -217,7 +217,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10CompliancePolicy object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -229,7 +229,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows10CompliancePolicy object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -238,7 +238,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of a androidWorkProfileCompliancePolicy object.
+ * Update the properties of a windows10CompliancePolicy object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -269,7 +269,7 @@ public DeviceCompliancePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonn
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the iosCompliancePolicy object.
+ * Read properties and relationships of the windows10CompliancePolicy object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java
index 7fcb05f9d56..b8ca495bd52 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/DeviceConfigurationsRequestBuilder.java
@@ -60,21 +60,21 @@ public DeviceConfigurationsRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the windows10TeamGeneralConfiguration objects.
+ * List properties and relationships of the androidCustomConfiguration objects.
* @return a {@link DeviceConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfigurationCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the windows10TeamGeneralConfiguration objects.
+ * List properties and relationships of the androidCustomConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -84,23 +84,23 @@ public DeviceConfigurationCollectionResponse get(@jakarta.annotation.Nullable fi
return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfigurationCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Create a new androidWorkProfileCustomConfiguration object.
+ * Create a new editionUpgradeConfiguration object.
* @param body The request body
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfiguration body) {
return post(body, null);
}
/**
- * Create a new androidWorkProfileCustomConfiguration object.
+ * Create a new editionUpgradeConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public DeviceConfiguration post(@jakarta.annotation.Nonnull final DeviceConfigur
return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfiguration::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the windows10TeamGeneralConfiguration objects.
+ * List properties and relationships of the androidCustomConfiguration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the windows10TeamGeneralConfiguration objects.
+ * List properties and relationships of the androidCustomConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new androidWorkProfileCustomConfiguration object.
+ * Create a new editionUpgradeConfiguration object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Create a new androidWorkProfileCustomConfiguration object.
+ * Create a new editionUpgradeConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -165,7 +165,7 @@ public DeviceConfigurationsRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
return new DeviceConfigurationsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the windows10TeamGeneralConfiguration objects.
+ * List properties and relationships of the androidCustomConfiguration objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java
index 2b8f6184cd2..8f29bc0eeca 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceconfigurations/item/DeviceConfigurationItemRequestBuilder.java
@@ -101,18 +101,18 @@ public DeviceConfigurationItemRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a windowsPhone81GeneralConfiguration.
+ * Deletes a iosGeneralDeviceConfiguration.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Deletes a windowsPhone81GeneralConfiguration.
+ * Deletes a iosGeneralDeviceConfiguration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -121,21 +121,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the windowsUpdateForBusinessConfiguration object.
+ * Read properties and relationships of the deviceConfiguration object.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration get() {
return get(null);
}
/**
- * Read properties and relationships of the windowsUpdateForBusinessConfiguration object.
+ * Read properties and relationships of the deviceConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -155,23 +155,23 @@ public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder getOm
return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(pathParameters, requestAdapter, secretReferenceValueId);
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windows81GeneralConfiguration object.
* @param body The request body
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfiguration body) {
return patch(body, null);
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windows81GeneralConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfiguration body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -182,7 +182,7 @@ public DeviceConfiguration patch(@jakarta.annotation.Nonnull final DeviceConfigu
return this.requestAdapter.send(requestInfo, errorMapping, DeviceConfiguration::createFromDiscriminatorValue);
}
/**
- * Deletes a windowsPhone81GeneralConfiguration.
+ * Deletes a iosGeneralDeviceConfiguration.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -190,7 +190,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a windowsPhone81GeneralConfiguration.
+ * Deletes a iosGeneralDeviceConfiguration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -202,7 +202,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the windowsUpdateForBusinessConfiguration object.
+ * Read properties and relationships of the deviceConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -210,7 +210,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the windowsUpdateForBusinessConfiguration object.
+ * Read properties and relationships of the deviceConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -222,7 +222,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windows81GeneralConfiguration object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -231,7 +231,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of a iosGeneralDeviceConfiguration object.
+ * Update the properties of a windows81GeneralConfiguration object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
@@ -262,7 +262,7 @@ public DeviceConfigurationItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the windowsUpdateForBusinessConfiguration object.
+ * Read properties and relationships of the deviceConfiguration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java
index 5b4a878d862..83ecd118232 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/DeviceEnrollmentConfigurationsRequestBuilder.java
@@ -60,21 +60,21 @@ public DeviceEnrollmentConfigurationsRequestBuilder(@jakarta.annotation.Nonnull
super(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
* @return a {@link DeviceEnrollmentConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfigurationCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceEnrollmentConfigurationCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfigurationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public DeviceEnrollmentConfiguration post(@jakarta.annotation.Nonnull final Devi
return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -165,7 +165,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder withUrl(@jakarta.annotation.
return new DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the deviceEnrollmentConfiguration objects.
+ * List properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java
index d6d73ebe436..c2646000d1a 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/deviceenrollmentconfigurations/item/DeviceEnrollmentConfigurationItemRequestBuilder.java
@@ -64,18 +64,18 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(@jakarta.annotation.Nonnu
super(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations/{deviceEnrollmentConfiguration%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Deletes a deviceEnrollmentLimitConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Deletes a deviceEnrollmentLimitConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @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);
@@ -84,21 +84,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read properties and relationships of the deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object.
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration get() {
return get(null);
}
/**
- * Read properties and relationships of the deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceEnrollmentConfiguration}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public DeviceEnrollmentConfiguration get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -135,7 +135,7 @@ public DeviceEnrollmentConfiguration patch(@jakarta.annotation.Nonnull final Dev
return this.requestAdapter.send(requestInfo, errorMapping, DeviceEnrollmentConfiguration::createFromDiscriminatorValue);
}
/**
- * Deletes a deviceEnrollmentLimitConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -143,7 +143,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Deletes a deviceEnrollmentLimitConfiguration.
+ * Deletes a deviceEnrollmentWindowsHelloForBusinessConfiguration.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -155,7 +155,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read properties and relationships of the deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -163,7 +163,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read properties and relationships of the deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -215,7 +215,7 @@ public DeviceEnrollmentConfigurationItemRequestBuilder withUrl(@jakarta.annotati
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read properties and relationships of the deviceEnrollmentConfiguration object.
+ * Read properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java
index 60b43bbbe65..e5c4885e811 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/roledefinitions/RoleDefinitionsRequestBuilder.java
@@ -60,21 +60,21 @@ public RoleDefinitionsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
+ * List properties and relationships of the roleDefinition objects.
* @return a {@link RoleDefinitionCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinitionCollectionResponse get() {
return get(null);
}
/**
- * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
+ * List properties and relationships of the roleDefinition objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RoleDefinitionCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public RoleDefinitionCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -111,7 +111,7 @@ public RoleDefinition post(@jakarta.annotation.Nonnull final RoleDefinition body
return this.requestAdapter.send(requestInfo, errorMapping, RoleDefinition::createFromDiscriminatorValue);
}
/**
- * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
+ * List properties and relationships of the roleDefinition objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
+ * List properties and relationships of the roleDefinition objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -165,7 +165,7 @@ public RoleDefinitionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new RoleDefinitionsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * List properties and relationships of the deviceAndAppManagementRoleDefinition objects.
+ * List properties and relationships of the roleDefinition objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
index 290a53f2a84..37474015a9f 100644
--- a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
@@ -1,5 +1,12 @@
package com.microsoft.graph.devicemanagement.virtualendpoint;
+import com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.AuditEventsRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.DeviceImagesRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.galleryimages.GalleryImagesRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.onpremisesconnections.OnPremisesConnectionsRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.provisioningpolicies.ProvisioningPoliciesRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.usersettings.UserSettingsRequestBuilder;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.graph.models.VirtualEndpoint;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -20,6 +27,62 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class VirtualEndpointRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link AuditEventsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AuditEventsRequestBuilder auditEvents() {
+ return new AuditEventsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the cloudPCs property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link CloudPCsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPCsRequestBuilder cloudPCs() {
+ return new CloudPCsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link DeviceImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DeviceImagesRequestBuilder deviceImages() {
+ return new DeviceImagesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the galleryImages property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link GalleryImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GalleryImagesRequestBuilder galleryImages() {
+ return new GalleryImagesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the onPremisesConnections property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link OnPremisesConnectionsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public OnPremisesConnectionsRequestBuilder onPremisesConnections() {
+ return new OnPremisesConnectionsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the provisioningPolicies property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link ProvisioningPoliciesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ProvisioningPoliciesRequestBuilder provisioningPolicies() {
+ return new ProvisioningPoliciesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the userSettings property of the microsoft.graph.virtualEndpoint entity.
+ * @return a {@link UserSettingsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public UserSettingsRequestBuilder userSettings() {
+ return new UserSettingsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link VirtualEndpointRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
@@ -55,7 +118,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Get virtualEndpoint from deviceManagement
+ * Virtual endpoint
* @return a {@link VirtualEndpoint}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -64,7 +127,7 @@ public VirtualEndpoint get() {
return get(null);
}
/**
- * Get virtualEndpoint from deviceManagement
+ * Virtual endpoint
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link VirtualEndpoint}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -122,7 +185,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Get virtualEndpoint from deviceManagement
+ * Virtual endpoint
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -130,7 +193,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Get virtualEndpoint from deviceManagement
+ * Virtual endpoint
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -182,7 +245,7 @@ public VirtualEndpointRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Get virtualEndpoint from deviceManagement
+ * Virtual endpoint
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/AuditEventsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/AuditEventsRequestBuilder.java
new file mode 100644
index 00000000000..c6dabf59bf1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/AuditEventsRequestBuilder.java
@@ -0,0 +1,254 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.auditevents;
+
+import com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.count.CountRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.getauditactivitytypes.GetAuditActivityTypesRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.item.CloudPcAuditEventItemRequestBuilder;
+import com.microsoft.graph.models.CloudPcAuditEvent;
+import com.microsoft.graph.models.CloudPcAuditEventCollectionResponse;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 auditEvents property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class AuditEventsRequestBuilder 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 call the getAuditActivityTypes method.
+ * @return a {@link GetAuditActivityTypesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetAuditActivityTypesRequestBuilder getAuditActivityTypes() {
+ return new GetAuditActivityTypesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the auditEvents property of the microsoft.graph.virtualEndpoint entity.
+ * @param cloudPcAuditEventId The unique identifier of cloudPcAuditEvent
+ * @return a {@link CloudPcAuditEventItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPcAuditEventItemRequestBuilder byCloudPcAuditEventId(@jakarta.annotation.Nonnull final String cloudPcAuditEventId) {
+ Objects.requireNonNull(cloudPcAuditEventId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("cloudPcAuditEvent%2Did", cloudPcAuditEventId);
+ return new CloudPcAuditEventItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link AuditEventsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public AuditEventsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link AuditEventsRequestBuilder} 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 AuditEventsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * List all the cloudPcAuditEvent objects for the tenant.
+ * @return a {@link CloudPcAuditEventCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEventCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * List all the cloudPcAuditEvent objects for the tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcAuditEventCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEventCollectionResponse 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, CloudPcAuditEventCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to auditEvents for deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPcAuditEvent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEvent post(@jakarta.annotation.Nonnull final CloudPcAuditEvent body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to auditEvents for deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcAuditEvent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEvent post(@jakarta.annotation.Nonnull final CloudPcAuditEvent 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, CloudPcAuditEvent::createFromDiscriminatorValue);
+ }
+ /**
+ * List all the cloudPcAuditEvent objects for the tenant.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * List all the cloudPcAuditEvent objects for the tenant.
+ * @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 auditEvents for deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcAuditEvent body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to auditEvents for deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcAuditEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents", pathParameters);
+ 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 AuditEventsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public AuditEventsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new AuditEventsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * List all the cloudPcAuditEvent objects for the tenant.
+ */
+ @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/generated/devicemanagement/virtualendpoint/auditevents/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..e144a769888
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.count;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/$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/generated/devicemanagement/virtualendpoint/auditevents/getauditactivitytypes/GetAuditActivityTypesGetResponse.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/getauditactivitytypes/GetAuditActivityTypesGetResponse.java
new file mode 100644
index 00000000000..e5360490542
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/getauditactivitytypes/GetAuditActivityTypesGetResponse.java
@@ -0,0 +1,62 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.getauditactivitytypes;
+
+import com.microsoft.graph.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetAuditActivityTypesGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetAuditActivityTypesGetResponse} and sets the default values.
+ */
+ public GetAuditActivityTypesGetResponse() {
+ super();
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link GetAuditActivityTypesGetResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetAuditActivityTypesGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetAuditActivityTypesGetResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfPrimitiveValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/getauditactivitytypes/GetAuditActivityTypesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/getauditactivitytypes/GetAuditActivityTypesRequestBuilder.java
new file mode 100644
index 00000000000..dbb70f5c096
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/getauditactivitytypes/GetAuditActivityTypesRequestBuilder.java
@@ -0,0 +1,146 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.getauditactivitytypes;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 call the getAuditActivityTypes method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetAuditActivityTypesRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetAuditActivityTypesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetAuditActivityTypesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/getAuditActivityTypes(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetAuditActivityTypesRequestBuilder} 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 GetAuditActivityTypesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/getAuditActivityTypes(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Invoke function getAuditActivityTypes
+ * @return a {@link GetAuditActivityTypesGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetAuditActivityTypesGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Invoke function getAuditActivityTypes
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetAuditActivityTypesGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetAuditActivityTypesGetResponse 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, GetAuditActivityTypesGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function getAuditActivityTypes
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function getAuditActivityTypes
+ * @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 GetAuditActivityTypesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetAuditActivityTypesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetAuditActivityTypesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Invoke function getAuditActivityTypes
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * 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);
+ 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/generated/devicemanagement/virtualendpoint/auditevents/item/CloudPcAuditEventItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/item/CloudPcAuditEventItemRequestBuilder.java
new file mode 100644
index 00000000000..2df5fae8554
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/auditevents/item/CloudPcAuditEventItemRequestBuilder.java
@@ -0,0 +1,230 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.auditevents.item;
+
+import com.microsoft.graph.models.CloudPcAuditEvent;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 auditEvents property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CloudPcAuditEventItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CloudPcAuditEventItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CloudPcAuditEventItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CloudPcAuditEventItemRequestBuilder} 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 CloudPcAuditEventItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property auditEvents for deviceManagement
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property auditEvents for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Read the properties and relationships of a cloudPcAuditEvent object.
+ * @return a {@link CloudPcAuditEvent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEvent get() {
+ return get(null);
+ }
+ /**
+ * Read the properties and relationships of a cloudPcAuditEvent object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcAuditEvent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEvent 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, CloudPcAuditEvent::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property auditEvents in deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPcAuditEvent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEvent patch(@jakarta.annotation.Nonnull final CloudPcAuditEvent body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property auditEvents in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcAuditEvent}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcAuditEvent patch(@jakarta.annotation.Nonnull final CloudPcAuditEvent 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, CloudPcAuditEvent::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property auditEvents for deviceManagement
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property auditEvents for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%2Did}", pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Read the properties and relationships of a cloudPcAuditEvent object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read the properties and relationships of a cloudPcAuditEvent object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property auditEvents in deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcAuditEvent body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property auditEvents in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcAuditEvent body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/auditEvents/{cloudPcAuditEvent%2Did}", pathParameters);
+ 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 CloudPcAuditEventItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPcAuditEventItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CloudPcAuditEventItemRequestBuilder(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 cloudPcAuditEvent 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/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java
new file mode 100644
index 00000000000..866a42ef3e1
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java
@@ -0,0 +1,245 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs;
+
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.count.CountRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.CloudPCItemRequestBuilder;
+import com.microsoft.graph.models.CloudPC;
+import com.microsoft.graph.models.CloudPCCollectionResponse;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 cloudPCs property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CloudPCsRequestBuilder 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 cloudPCs property of the microsoft.graph.virtualEndpoint entity.
+ * @param cloudPCId The unique identifier of cloudPC
+ * @return a {@link CloudPCItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPCItemRequestBuilder byCloudPCId(@jakarta.annotation.Nonnull final String cloudPCId) {
+ Objects.requireNonNull(cloudPCId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("cloudPC%2Did", cloudPCId);
+ return new CloudPCItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link CloudPCsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CloudPCsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CloudPCsRequestBuilder} 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 CloudPCsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * List the cloudPC devices in a tenant.
+ * @return a {@link CloudPCCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPCCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * List the cloudPC devices in a tenant.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPCCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPCCollectionResponse 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, CloudPCCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to cloudPCs for deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPC}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPC post(@jakarta.annotation.Nonnull final CloudPC body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to cloudPCs for deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPC}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPC post(@jakarta.annotation.Nonnull final CloudPC 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, CloudPC::createFromDiscriminatorValue);
+ }
+ /**
+ * List the cloudPC devices in a tenant.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * List the cloudPC devices in a tenant.
+ * @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 cloudPCs for deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPC body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to cloudPCs for deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPC body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs", pathParameters);
+ 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 CloudPCsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPCsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CloudPCsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * List the cloudPC devices in a tenant.
+ */
+ @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/generated/devicemanagement/virtualendpoint/cloudpcs/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..99c37d22a58
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.count;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/$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/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java
new file mode 100644
index 00000000000..771e2e9636a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java
@@ -0,0 +1,275 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item;
+
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.endgraceperiod.EndGracePeriodRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.reboot.RebootRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.rename.RenameRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.restore.RestoreRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.troubleshoot.TroubleshootRequestBuilder;
+import com.microsoft.graph.models.CloudPC;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 cloudPCs property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CloudPCItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the endGracePeriod method.
+ * @return a {@link EndGracePeriodRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public EndGracePeriodRequestBuilder endGracePeriod() {
+ return new EndGracePeriodRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the reboot method.
+ * @return a {@link RebootRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RebootRequestBuilder reboot() {
+ return new RebootRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the rename method.
+ * @return a {@link RenameRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RenameRequestBuilder rename() {
+ return new RenameRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the restore method.
+ * @return a {@link RestoreRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RestoreRequestBuilder restore() {
+ return new RestoreRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the troubleshoot method.
+ * @return a {@link TroubleshootRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TroubleshootRequestBuilder troubleshoot() {
+ return new TroubleshootRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link CloudPCItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CloudPCItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CloudPCItemRequestBuilder} 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 CloudPCItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property cloudPCs for deviceManagement
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property cloudPCs for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPC object.
+ * @return a {@link CloudPC}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPC get() {
+ return get(null);
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPC object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPC}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPC 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, CloudPC::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property cloudPCs in deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPC}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPC patch(@jakarta.annotation.Nonnull final CloudPC body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property cloudPCs in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPC}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPC patch(@jakarta.annotation.Nonnull final CloudPC 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, CloudPC::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property cloudPCs for deviceManagement
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property cloudPCs for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}", pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPC object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPC object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property cloudPCs in deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPC body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property cloudPCs in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPC body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}", pathParameters);
+ 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 CloudPCItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPCItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CloudPCItemRequestBuilder(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 specific cloudPC 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/generated/devicemanagement/virtualendpoint/cloudpcs/item/endgraceperiod/EndGracePeriodRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/endgraceperiod/EndGracePeriodRequestBuilder.java
new file mode 100644
index 00000000000..f7574e14954
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/endgraceperiod/EndGracePeriodRequestBuilder.java
@@ -0,0 +1,93 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.endgraceperiod;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the endGracePeriod method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class EndGracePeriodRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link EndGracePeriodRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public EndGracePeriodRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/endGracePeriod", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link EndGracePeriodRequestBuilder} 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 EndGracePeriodRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/endGracePeriod", rawUrl);
+ }
+ /**
+ * End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * End the grace period for a specific cloudPC object. The grace period is triggered when the Cloud PC license is removed or the provisioning policy is unassigned. It allows users to access Cloud PCs for up to seven days before deprovisioning occurs. Ending the grace period immediately deprovisions the Cloud PC without waiting the seven days.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link EndGracePeriodRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public EndGracePeriodRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new EndGracePeriodRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/reboot/RebootRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/reboot/RebootRequestBuilder.java
new file mode 100644
index 00000000000..a48f3e9ab43
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/reboot/RebootRequestBuilder.java
@@ -0,0 +1,93 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.reboot;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the reboot method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RebootRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RebootRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RebootRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reboot", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RebootRequestBuilder} 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 RebootRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/reboot", rawUrl);
+ }
+ /**
+ * Reboot a specific cloudPC object.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Reboot a specific cloudPC 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 post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Reboot a specific cloudPC object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Reboot a specific cloudPC object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RebootRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RebootRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RebootRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/rename/RenamePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/rename/RenamePostRequestBody.java
new file mode 100644
index 00000000000..8de952f2cd9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/rename/RenamePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.rename;
+
+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 RenamePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RenamePostRequestBody} and sets the default values.
+ */
+ public RenamePostRequestBody() {
+ 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 RenamePostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RenamePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RenamePostRequestBody();
+ }
+ /**
+ * 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;
+ }
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
+ /**
+ * 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("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * 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("displayName", this.getDisplayName());
+ 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 displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/rename/RenameRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/rename/RenameRequestBuilder.java
new file mode 100644
index 00000000000..4f72db160cf
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/rename/RenameRequestBuilder.java
@@ -0,0 +1,100 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.rename;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the rename method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RenameRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RenameRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RenameRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/rename", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RenameRequestBuilder} 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 RenameRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/rename", rawUrl);
+ }
+ /**
+ * Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity.
+ * @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 RenamePostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity.
+ * @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 RenamePostRequestBody 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);
+ }
+ /**
+ * Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RenamePostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Rename a specific cloudPC object. Use this API to update the displayName of a Cloud PC entity.
+ * @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 RenamePostRequestBody 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 RenameRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RenameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RenameRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/restore/RestorePostRequestBody.java
new file mode 100644
index 00000000000..a6efd6a2630
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/restore/RestorePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.restore;
+
+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 RestorePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RestorePostRequestBody} and sets the default values.
+ */
+ public RestorePostRequestBody() {
+ 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 RestorePostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RestorePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RestorePostRequestBody();
+ }
+ /**
+ * 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;
+ }
+ /**
+ * Gets the cloudPcSnapshotId property value. The cloudPcSnapshotId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getCloudPcSnapshotId() {
+ return this.backingStore.get("cloudPcSnapshotId");
+ }
+ /**
+ * 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("cloudPcSnapshotId", (n) -> { this.setCloudPcSnapshotId(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * 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("cloudPcSnapshotId", this.getCloudPcSnapshotId());
+ 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 cloudPcSnapshotId property value. The cloudPcSnapshotId property
+ * @param value Value to set for the cloudPcSnapshotId property.
+ */
+ public void setCloudPcSnapshotId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("cloudPcSnapshotId", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/restore/RestoreRequestBuilder.java
new file mode 100644
index 00000000000..c00c3eb1f78
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/restore/RestoreRequestBuilder.java
@@ -0,0 +1,100 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.restore;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the restore method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RestoreRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RestoreRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/restore", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RestoreRequestBuilder} 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 RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/restore", rawUrl);
+ }
+ /**
+ * Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state.
+ * @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 RestorePostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state.
+ * @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 RestorePostRequestBody 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);
+ }
+ /**
+ * Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Restore a specific cloudPC object to a previous state from a snapshot. Use this API to trigger a remote action that restores a Cloud PC device to a previous state.
+ * @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 RestorePostRequestBody 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 RestoreRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RestoreRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/troubleshoot/TroubleshootRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/troubleshoot/TroubleshootRequestBuilder.java
new file mode 100644
index 00000000000..698505d2102
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/cloudpcs/item/troubleshoot/TroubleshootRequestBuilder.java
@@ -0,0 +1,93 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.cloudpcs.item.troubleshoot;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the troubleshoot method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class TroubleshootRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link TroubleshootRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public TroubleshootRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/troubleshoot", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link TroubleshootRequestBuilder} 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 TroubleshootRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/troubleshoot", rawUrl);
+ }
+ /**
+ * Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post() {
+ post(null);
+ }
+ /**
+ * Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation() {
+ return toPostRequestInformation(null);
+ }
+ /**
+ * Troubleshoot a specific cloudPC object. Use this API to check the health status of the Cloud PC and the session host.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link TroubleshootRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public TroubleshootRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new TroubleshootRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/DeviceImagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/DeviceImagesRequestBuilder.java
new file mode 100644
index 00000000000..d0e65260ff7
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/DeviceImagesRequestBuilder.java
@@ -0,0 +1,256 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages;
+
+import com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.count.CountRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.getsourceimages.GetSourceImagesRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.item.CloudPcDeviceImageItemRequestBuilder;
+import com.microsoft.graph.models.CloudPcDeviceImage;
+import com.microsoft.graph.models.CloudPcDeviceImageCollectionResponse;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 deviceImages property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DeviceImagesRequestBuilder 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 call the getSourceImages method.
+ * @return a {@link GetSourceImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetSourceImagesRequestBuilder getSourceImages() {
+ return new GetSourceImagesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the deviceImages property of the microsoft.graph.virtualEndpoint entity.
+ * @param cloudPcDeviceImageId The unique identifier of cloudPcDeviceImage
+ * @return a {@link CloudPcDeviceImageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPcDeviceImageItemRequestBuilder byCloudPcDeviceImageId(@jakarta.annotation.Nonnull final String cloudPcDeviceImageId) {
+ Objects.requireNonNull(cloudPcDeviceImageId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("cloudPcDeviceImage%2Did", cloudPcDeviceImageId);
+ return new CloudPcDeviceImageItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link DeviceImagesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DeviceImagesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link DeviceImagesRequestBuilder} 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 DeviceImagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * List the properties and relationships of cloudPcDeviceImage objects (operating system images) uploaded to Cloud PC.
+ * @return a {@link CloudPcDeviceImageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImageCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * List the properties and relationships of cloudPcDeviceImage objects (operating system images) uploaded to Cloud PC.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcDeviceImageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImageCollectionResponse 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, CloudPcDeviceImageCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs.
+ * @param body The request body
+ * @return a {@link CloudPcDeviceImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImage post(@jakarta.annotation.Nonnull final CloudPcDeviceImage body) {
+ return post(body, null);
+ }
+ /**
+ * Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcDeviceImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImage post(@jakarta.annotation.Nonnull final CloudPcDeviceImage 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, CloudPcDeviceImage::createFromDiscriminatorValue);
+ }
+ /**
+ * List the properties and relationships of cloudPcDeviceImage objects (operating system images) uploaded to Cloud PC.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * List the properties and relationships of cloudPcDeviceImage objects (operating system images) uploaded to Cloud PC.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcDeviceImage body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create a new cloudPcDeviceImage object. Upload a custom OS image that you can later provision on Cloud PCs.
+ * @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 CloudPcDeviceImage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages", pathParameters);
+ 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 DeviceImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DeviceImagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new DeviceImagesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * List the properties and relationships of cloudPcDeviceImage objects (operating system images) uploaded to Cloud PC.
+ */
+ @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/generated/devicemanagement/virtualendpoint/deviceimages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..b7ae55d367b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.count;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/$count{?%24filter,%24search}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/$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/generated/devicemanagement/virtualendpoint/deviceimages/getsourceimages/GetSourceImagesGetResponse.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/getsourceimages/GetSourceImagesGetResponse.java
new file mode 100644
index 00000000000..a1abab0c72b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/getsourceimages/GetSourceImagesGetResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.getsourceimages;
+
+import com.microsoft.graph.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.models.CloudPcSourceDeviceImage;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetSourceImagesGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetSourceImagesGetResponse} and sets the default values.
+ */
+ public GetSourceImagesGetResponse() {
+ super();
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link GetSourceImagesGetResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetSourceImagesGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetSourceImagesGetResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CloudPcSourceDeviceImage::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/getsourceimages/GetSourceImagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/getsourceimages/GetSourceImagesRequestBuilder.java
new file mode 100644
index 00000000000..a7158a5bde5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/getsourceimages/GetSourceImagesRequestBuilder.java
@@ -0,0 +1,146 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.getsourceimages;
+
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 call the getSourceImages method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetSourceImagesRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetSourceImagesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetSourceImagesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/getSourceImages(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetSourceImagesRequestBuilder} 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 GetSourceImagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/getSourceImages(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Invoke function getSourceImages
+ * @return a {@link GetSourceImagesGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetSourceImagesGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Invoke function getSourceImages
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetSourceImagesGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetSourceImagesGetResponse 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, GetSourceImagesGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function getSourceImages
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function getSourceImages
+ * @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 GetSourceImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetSourceImagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetSourceImagesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Invoke function getSourceImages
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * 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);
+ 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/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java
new file mode 100644
index 00000000000..922bb0371de
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/deviceimages/item/CloudPcDeviceImageItemRequestBuilder.java
@@ -0,0 +1,232 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.deviceimages.item;
+
+import com.microsoft.graph.models.CloudPcDeviceImage;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 deviceImages property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CloudPcDeviceImageItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CloudPcDeviceImageItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CloudPcDeviceImageItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CloudPcDeviceImageItemRequestBuilder} 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 CloudPcDeviceImageItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete a cloudPcDeviceImage object.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete a cloudPcDeviceImage object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPcDeviceImage object.
+ * @return a {@link CloudPcDeviceImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImage get() {
+ return get(null);
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPcDeviceImage object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcDeviceImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImage 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, CloudPcDeviceImage::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property deviceImages in deviceManagement
+ * @param body The request body
+ * @return a {@link CloudPcDeviceImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImage patch(@jakarta.annotation.Nonnull final CloudPcDeviceImage body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property deviceImages in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CloudPcDeviceImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDeviceImage patch(@jakarta.annotation.Nonnull final CloudPcDeviceImage 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, CloudPcDeviceImage::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete a cloudPcDeviceImage object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete a cloudPcDeviceImage object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}", pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPcDeviceImage object.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Read the properties and relationships of a specific cloudPcDeviceImage object.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * Update the navigation property deviceImages in deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcDeviceImage body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property deviceImages in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final CloudPcDeviceImage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, "{+baseurl}/deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImage%2Did}", pathParameters);
+ 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 CloudPcDeviceImageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPcDeviceImageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CloudPcDeviceImageItemRequestBuilder(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 specific cloudPcDeviceImage 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/generated/devicemanagement/virtualendpoint/galleryimages/GalleryImagesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/galleryimages/GalleryImagesRequestBuilder.java
new file mode 100644
index 00000000000..0b9995d4200
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/generated/devicemanagement/virtualendpoint/galleryimages/GalleryImagesRequestBuilder.java
@@ -0,0 +1,245 @@
+package com.microsoft.graph.devicemanagement.virtualendpoint.galleryimages;
+
+import com.microsoft.graph.devicemanagement.virtualendpoint.galleryimages.count.CountRequestBuilder;
+import com.microsoft.graph.devicemanagement.virtualendpoint.galleryimages.item.CloudPcGalleryImageItemRequestBuilder;
+import com.microsoft.graph.models.CloudPcGalleryImage;
+import com.microsoft.graph.models.CloudPcGalleryImageCollectionResponse;
+import com.microsoft.graph.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.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 galleryImages property of the microsoft.graph.virtualEndpoint entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GalleryImagesRequestBuilder 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 galleryImages property of the microsoft.graph.virtualEndpoint entity.
+ * @param cloudPcGalleryImageId The unique identifier of cloudPcGalleryImage
+ * @return a {@link CloudPcGalleryImageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CloudPcGalleryImageItemRequestBuilder byCloudPcGalleryImageId(@jakarta.annotation.Nonnull final String cloudPcGalleryImageId) {
+ Objects.requireNonNull(cloudPcGalleryImageId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("cloudPcGalleryImage%2Did", cloudPcGalleryImageId);
+ return new CloudPcGalleryImageItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link GalleryImagesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GalleryImagesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GalleryImagesRequestBuilder} 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 GalleryImagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/galleryImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * List the properties and relationships of cloudPcGalleryImage objects.
+ * @return a {@link CloudPcGalleryImageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see