diff --git a/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java b/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java
index 35cd9706c8f..f9d55b4e7fe 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java
@@ -73,6 +73,7 @@
import com.microsoft.graph.beta.messagetraces.MessageTracesRequestBuilder;
import com.microsoft.graph.beta.mobilitymanagementpolicies.MobilityManagementPoliciesRequestBuilder;
import com.microsoft.graph.beta.monitoring.MonitoringRequestBuilder;
+import com.microsoft.graph.beta.network.NetworkRequestBuilder;
import com.microsoft.graph.beta.networkaccess.NetworkAccessRequestBuilder;
import com.microsoft.graph.beta.oauth2permissiongrants.Oauth2PermissionGrantsRequestBuilder;
import com.microsoft.graph.beta.onpremisespublishingprofiles.OnPremisesPublishingProfilesRequestBuilder;
@@ -687,6 +688,14 @@ public MobilityManagementPoliciesRequestBuilder mobilityManagementPolicies() {
public MonitoringRequestBuilder monitoring() {
return new MonitoringRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the network singleton.
+ * @return a {@link NetworkRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public NetworkRequestBuilder network() {
+ return new NetworkRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the networkAccessRoot singleton.
* @return a {@link NetworkAccessRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java
index a3419ed19e1..77262ef18d5 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java
@@ -37,18 +37,18 @@ public ResourceConnectionItemRequestBuilder(@jakarta.annotation.Nonnull final St
super(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete an operationalInsightsConnection object.
+ * Delete a resourceConnection object.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete an operationalInsightsConnection object.
+ * Delete a resourceConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -106,7 +106,7 @@ public ResourceConnection patch(@jakarta.annotation.Nonnull final ResourceConnec
return this.requestAdapter.send(requestInfo, errorMapping, ResourceConnection::createFromDiscriminatorValue);
}
/**
- * Delete an operationalInsightsConnection object.
+ * Delete a resourceConnection object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -114,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete an operationalInsightsConnection object.
+ * Delete a resourceConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java
index fc1464b8a93..7d8718c1c86 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java
@@ -73,18 +73,18 @@ public UpdatableAssetItemRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an updatableAsset object.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an updatableAsset object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -93,21 +93,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAssetGroup object.
* @return a {@link UpdatableAsset}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public UpdatableAsset get() {
return get(null);
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAssetGroup object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link UpdatableAsset}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public UpdatableAsset get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -142,7 +142,7 @@ public UpdatableAsset patch(@jakarta.annotation.Nonnull final UpdatableAsset bod
return this.requestAdapter.send(requestInfo, errorMapping, UpdatableAsset::createFromDiscriminatorValue);
}
/**
- * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an updatableAsset object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -150,7 +150,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
+ * Delete an updatableAsset object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -162,7 +162,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAssetGroup object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -170,7 +170,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAssetGroup object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -222,7 +222,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Read the properties of an azureADDevice object.
+ * Read the properties and relationships of an updatableAssetGroup object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java
index 4c4dd4db3b2..d1182ca8edc 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java
@@ -46,18 +46,18 @@ public ComplianceChangeItemRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}{?%24expand,%24select}", rawUrl);
}
/**
- * Delete a complianceChange object.
+ * Delete a contentApproval object.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete() {
delete(null);
}
/**
- * Delete a complianceChange object.
+ * Delete a contentApproval object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -117,7 +117,7 @@ public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
}
/**
- * Delete a complianceChange object.
+ * Delete a contentApproval object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
- * Delete a complianceChange object.
+ * Delete a contentApproval object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsRequestBuilder.java
index 4db38389ab3..6a04228d560 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/getmembergroups/GetMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/getMemberGroups", rawUrl);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link GetMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return post(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GetMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return this.requestAdapter.send(requestInfo, errorMapping, GetMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestorePostRequestBody.java
new file mode 100644
index 00000000000..91fc9b583c3
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestorePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.administrativeunits.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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @return a {@link Boolean}
+ */
+ @jakarta.annotation.Nullable
+ public Boolean getAutoReconcileProxyConflict() {
+ return this.backingStore.get("autoReconcileProxyConflict");
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("autoReconcileProxyConflict", (n) -> { this.setAutoReconcileProxyConflict(n.getBooleanValue()); });
+ 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.writeBooleanValue("autoReconcileProxyConflict", this.getAutoReconcileProxyConflict());
+ 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @param value Value to set for the autoReconcileProxyConflict property.
+ */
+ public void setAutoReconcileProxyConflict(@jakarta.annotation.Nullable final Boolean value) {
+ this.backingStore.set("autoReconcileProxyConflict", 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;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java
index 343038b42f5..b82a60def5b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/restore/RestoreRequestBuilder.java
@@ -37,46 +37,53 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post() {
- return post(null);
+ public DirectoryObject post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return post(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ public DirectoryObject 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);
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation() {
- return toPostRequestInformation(null);
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return toPostRequestInformation(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @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.Nullable final java.util.function.Consumer requestConfiguration) {
+ 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;
}
/**
diff --git a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java
index 325d49a04f5..8f747290eac 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java
@@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
super(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/invite", rawUrl);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
return post(body, null);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java
index 5f4407ef750..62e173624b0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentials/item/FederatedIdentityCredentialItemRequestBuilder.java
@@ -81,7 +81,7 @@ public FederatedIdentityCredential get(@jakarta.annotation.Nullable final java.u
return this.requestAdapter.send(requestInfo, errorMapping, FederatedIdentityCredential::createFromDiscriminatorValue);
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @return a {@link FederatedIdentityCredential}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -92,7 +92,7 @@ public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final Feder
return patch(body, null);
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link FederatedIdentityCredential}
@@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java
index ff137b5a5a7..e272badab59 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/federatedidentitycredentialswithname/FederatedIdentityCredentialsWithNameRequestBuilder.java
@@ -83,7 +83,7 @@ public FederatedIdentityCredential get(@jakarta.annotation.Nullable final java.u
return this.requestAdapter.send(requestInfo, errorMapping, FederatedIdentityCredential::createFromDiscriminatorValue);
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @return a {@link FederatedIdentityCredential}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -94,7 +94,7 @@ public FederatedIdentityCredential patch(@jakarta.annotation.Nonnull final Feder
return patch(body, null);
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link FederatedIdentityCredential}
@@ -150,7 +150,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -159,7 +159,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Create a new federatedIdentityCredential object for an application if it does exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
+ * Create a new federatedIdentityCredential object for an application if it doesn't exist, or update the properties of an existing federatedIdentityCredential object. By configuring a trust relationship between your Microsoft Entra application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsRequestBuilder.java
index 1c7309a2e1c..ab1ec57e42c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/getmembergroups/GetMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/getMemberGroups", rawUrl);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link GetMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return post(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GetMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return this.requestAdapter.send(requestInfo, errorMapping, GetMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java
index f8717e3a664..d510ea77711 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/ref/RefRequestBuilder.java
@@ -82,7 +82,7 @@ public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util
return this.requestAdapter.send(requestInfo, errorMapping, StringCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Use this API to add an owner to an application by posting to the owners collection.
+ * Add an owner to an application. Currently, only individual users are supported as owners of applications.
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
@@ -91,7 +91,7 @@ public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) {
post(body, null);
}
/**
- * Use this API to add an owner to an application by posting to the owners collection.
+ * Add an owner to an application. Currently, only individual users are supported as owners of applications.
* @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
@@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Use this API to add an owner to an application by posting to the owners collection.
+ * Add an owner to an application. Currently, only individual users are supported as owners of applications.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -154,7 +154,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Use this API to add an owner to an application by posting to the owners collection.
+ * Add an owner to an application. Currently, only individual users are supported as owners of applications.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestorePostRequestBody.java
new file mode 100644
index 00000000000..ecb262d2ebc
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestorePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.applications.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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @return a {@link Boolean}
+ */
+ @jakarta.annotation.Nullable
+ public Boolean getAutoReconcileProxyConflict() {
+ return this.backingStore.get("autoReconcileProxyConflict");
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("autoReconcileProxyConflict", (n) -> { this.setAutoReconcileProxyConflict(n.getBooleanValue()); });
+ 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.writeBooleanValue("autoReconcileProxyConflict", this.getAutoReconcileProxyConflict());
+ 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @param value Value to set for the autoReconcileProxyConflict property.
+ */
+ public void setAutoReconcileProxyConflict(@jakarta.annotation.Nullable final Boolean value) {
+ this.backingStore.set("autoReconcileProxyConflict", 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;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java
index 91c04f3957a..8c2a67e8c97 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/restore/RestoreRequestBuilder.java
@@ -37,46 +37,53 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post() {
- return post(null);
+ public DirectoryObject post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return post(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ public DirectoryObject 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);
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation() {
- return toPostRequestInformation(null);
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return toPostRequestInformation(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @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.Nullable final java.util.function.Consumer requestConfiguration) {
+ 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;
}
/**
diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java
index 8b513a472d4..28d22f038c8 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java
@@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java
return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue);
}
/**
- * Send a new chatMessage in the specified channel or a chat.
+ * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
* @param body The request body
* @return a {@link ChatMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) {
return post(body, null);
}
/**
- * Send a new chatMessage in the specified channel or a chat.
+ * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ChatMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Send a new chatMessage in the specified channel or a chat.
+ * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Send a new chatMessage in the specified channel or a chat.
+ * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java
index 439c6074308..fe1f1e3681e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/communications/calls/item/participants/invite/InviteRequestBuilder.java
@@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
return post(body, null);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
@@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Invite participants to the active call. For more information about how to handle operations, see commsOperation.
+ * Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/getmembergroups/GetMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/getmembergroups/GetMemberGroupsRequestBuilder.java
index 26535fc066a..8897558afec 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/getmembergroups/GetMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/getmembergroups/GetMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/getMemberGroups", rawUrl);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link GetMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return post(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GetMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return this.requestAdapter.send(requestInfo, errorMapping, GetMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestorePostRequestBody.java
new file mode 100644
index 00000000000..e5f3880c463
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestorePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.contacts.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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @return a {@link Boolean}
+ */
+ @jakarta.annotation.Nullable
+ public Boolean getAutoReconcileProxyConflict() {
+ return this.backingStore.get("autoReconcileProxyConflict");
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("autoReconcileProxyConflict", (n) -> { this.setAutoReconcileProxyConflict(n.getBooleanValue()); });
+ 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.writeBooleanValue("autoReconcileProxyConflict", this.getAutoReconcileProxyConflict());
+ 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @param value Value to set for the autoReconcileProxyConflict property.
+ */
+ public void setAutoReconcileProxyConflict(@jakarta.annotation.Nullable final Boolean value) {
+ this.backingStore.set("autoReconcileProxyConflict", 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;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestoreRequestBuilder.java
index 8ed38e09e5d..10769459780 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/restore/RestoreRequestBuilder.java
@@ -37,46 +37,53 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post() {
- return post(null);
+ public DirectoryObject post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return post(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ public DirectoryObject 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);
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation() {
- return toPostRequestInformation(null);
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return toPostRequestInformation(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @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.Nullable final java.util.function.Consumer requestConfiguration) {
+ 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;
}
/**
diff --git a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/getmembergroups/GetMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/getmembergroups/GetMemberGroupsRequestBuilder.java
index 3e526ed4be9..1bcc8d461c6 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/getmembergroups/GetMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/getmembergroups/GetMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/contracts/{contract%2Did}/getMemberGroups", rawUrl);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link GetMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return post(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GetMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMem
return this.requestAdapter.send(requestInfo, errorMapping, GetMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API.
+ * Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestorePostRequestBody.java
new file mode 100644
index 00000000000..3e4eb6868de
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestorePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.contracts.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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @return a {@link Boolean}
+ */
+ @jakarta.annotation.Nullable
+ public Boolean getAutoReconcileProxyConflict() {
+ return this.backingStore.get("autoReconcileProxyConflict");
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("autoReconcileProxyConflict", (n) -> { this.setAutoReconcileProxyConflict(n.getBooleanValue()); });
+ 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.writeBooleanValue("autoReconcileProxyConflict", this.getAutoReconcileProxyConflict());
+ 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 autoReconcileProxyConflict property value. The autoReconcileProxyConflict property
+ * @param value Value to set for the autoReconcileProxyConflict property.
+ */
+ public void setAutoReconcileProxyConflict(@jakarta.annotation.Nullable final Boolean value) {
+ this.backingStore.set("autoReconcileProxyConflict", 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;
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java
index 289a378aea8..1068ea70d19 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/restore/RestoreRequestBuilder.java
@@ -37,46 +37,53 @@ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post() {
- return post(null);
+ public DirectoryObject post(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return post(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryObject}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see Find more info here
*/
@jakarta.annotation.Nullable
- public DirectoryObject post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration);
+ public DirectoryObject 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);
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryObject::createFromDiscriminatorValue);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @param body The request body
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
- public RequestInformation toPostRequestInformation() {
- return toPostRequestInformation(null);
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return toPostRequestInformation(body, null);
}
/**
* Restore a recently deleted application, externalUserProfile, group, pendingExternalUserProfile, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This isn't applicable to security groups, which are deleted permanently. Also, restoring an application doesn't restore the associated service principal automatically. You must call this API to explicitly restore the deleted service principal. A recently deleted item remains available for up to 30 days. After 30 days, the item is permanently deleted.
+ * @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.Nullable final java.util.function.Consumer requestConfiguration) {
+ 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;
}
/**
diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java
index dd7a7e224f4..1839e20b236 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/AssignmentsRequestBuilder.java
@@ -60,7 +60,7 @@ public AssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/deviceAppManagement/iosLobAppProvisioningConfigurations/{iosLobAppProvisioningConfiguration%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link IosLobAppProvisioningConfigurationAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -69,7 +69,7 @@ public IosLobAppProvisioningConfigurationAssignmentCollectionResponse get() {
return get(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link IosLobAppProvisioningConfigurationAssignmentCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,7 +107,7 @@ public IosLobAppProvisioningConfigurationAssignment post(@jakarta.annotation.Non
return this.requestAdapter.send(requestInfo, errorMapping, IosLobAppProvisioningConfigurationAssignment::createFromDiscriminatorValue);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +161,7 @@ public AssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
return new AssignmentsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java
index 8c1b1d177df..1b7ff14e809 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/ioslobappprovisioningconfigurations/item/assignments/item/IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder.java
@@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link IosLobAppProvisioningConfigurationAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -64,7 +64,7 @@ public IosLobAppProvisioningConfigurationAssignment get() {
return get(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link IosLobAppProvisioningConfigurationAssignment}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -182,7 +182,7 @@ public IosLobAppProvisioningConfigurationAssignmentItemRequestBuilder withUrl(@j
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * The associated group assignments for IosLobAppProvisioningConfiguration.
+ * The associated group assignments for IosLobAppProvisioningConfiguration, this determines which devices/users the IOS LOB app provisioning conifguration will be targeted to.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/DeviceManagementRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/DeviceManagementRequestBuilder.java
index 977e72407c2..541f71d4b43 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/DeviceManagementRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/DeviceManagementRequestBuilder.java
@@ -91,6 +91,7 @@
import com.microsoft.graph.beta.devicemanagement.manageddeviceencryptionstates.ManagedDeviceEncryptionStatesRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.manageddeviceoverview.ManagedDeviceOverviewRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.manageddevices.ManagedDevicesRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.ManagedDeviceWindowsOSImagesRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.microsofttunnelconfigurations.MicrosoftTunnelConfigurationsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.microsofttunnelhealththresholds.MicrosoftTunnelHealthThresholdsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.microsofttunnelserverlogcollectionresponses.MicrosoftTunnelServerLogCollectionResponsesRequestBuilder;
@@ -905,6 +906,14 @@ public ManagedDeviceOverviewRequestBuilder managedDeviceOverview() {
public ManagedDevicesRequestBuilder managedDevices() {
return new ManagedDevicesRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the managedDeviceWindowsOSImages property of the microsoft.graph.deviceManagement entity.
+ * @return a {@link ManagedDeviceWindowsOSImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ManagedDeviceWindowsOSImagesRequestBuilder managedDeviceWindowsOSImages() {
+ return new ManagedDeviceWindowsOSImagesRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the microsoftTunnelConfigurations property of the microsoft.graph.deviceManagement entity.
* @return a {@link MicrosoftTunnelConfigurationsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java
index 42d41a257bf..55f7a851b42 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/ManagedDeviceItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.activatedeviceesim.ActivateDeviceEsimRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.assignmentfilterevaluationstatusdetails.AssignmentFilterEvaluationStatusDetailsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.changeassignments.ChangeAssignmentsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.cleanwindowsdevice.CleanWindowsDeviceRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.createdevicelogcollectionrequest.CreateDeviceLogCollectionRequestRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.comanageddevices.item.deleteuserfromsharedappledevice.DeleteUserFromSharedAppleDeviceRequestBuilder;
@@ -102,6 +103,14 @@ public AssignmentFilterEvaluationStatusDetailsRequestBuilder assignmentFilterEva
public BypassActivationLockRequestBuilder bypassActivationLock() {
return new BypassActivationLockRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the changeAssignments method.
+ * @return a {@link ChangeAssignmentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChangeAssignmentsRequestBuilder changeAssignments() {
+ return new ChangeAssignmentsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the cleanWindowsDevice method.
* @return a {@link CleanWindowsDeviceRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/changeassignments/ChangeAssignmentsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/changeassignments/ChangeAssignmentsPostRequestBody.java
new file mode 100644
index 00000000000..b832a62c90d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/changeassignments/ChangeAssignmentsPostRequestBody.java
@@ -0,0 +1,108 @@
+package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.changeassignments;
+
+import com.microsoft.graph.beta.models.DeviceAssignmentItem;
+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 ChangeAssignmentsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ChangeAssignmentsPostRequestBody} and sets the default values.
+ */
+ public ChangeAssignmentsPostRequestBody() {
+ 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 ChangeAssignmentsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static ChangeAssignmentsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ChangeAssignmentsPostRequestBody();
+ }
+ /**
+ * 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 deviceAssignmentItems property value. The deviceAssignmentItems property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getDeviceAssignmentItems() {
+ return this.backingStore.get("deviceAssignmentItems");
+ }
+ /**
+ * 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("deviceAssignmentItems", (n) -> { this.setDeviceAssignmentItems(n.getCollectionOfObjectValues(DeviceAssignmentItem::createFromDiscriminatorValue)); });
+ 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.writeCollectionOfObjectValues("deviceAssignmentItems", this.getDeviceAssignmentItems());
+ 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 deviceAssignmentItems property value. The deviceAssignmentItems property
+ * @param value Value to set for the deviceAssignmentItems property.
+ */
+ public void setDeviceAssignmentItems(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("deviceAssignmentItems", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/changeassignments/ChangeAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/changeassignments/ChangeAssignmentsRequestBuilder.java
new file mode 100644
index 00000000000..c1aae10b73d
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/changeassignments/ChangeAssignmentsRequestBuilder.java
@@ -0,0 +1,98 @@
+package com.microsoft.graph.beta.devicemanagement.comanageddevices.item.changeassignments;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the changeAssignments method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ChangeAssignmentsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ChangeAssignmentsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ChangeAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/changeAssignments", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ChangeAssignmentsRequestBuilder} 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 ChangeAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/changeAssignments", rawUrl);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final ChangeAssignmentsPostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @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
+ */
+ public void post(@jakarta.annotation.Nonnull final ChangeAssignmentsPostRequestBody 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);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChangeAssignmentsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @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 ChangeAssignmentsPostRequestBody 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 ChangeAssignmentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChangeAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ChangeAssignmentsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java
index b11a15c162f..f99f1e17829 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/comanageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java
@@ -39,9 +39,12 @@ public GetCloudPcRemoteActionResultsRequestBuilder(@jakarta.annotation.Nonnull f
* Check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions.
* @return a {@link GetCloudPcRemoteActionResultsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
* @see Find more info here
*/
@jakarta.annotation.Nullable
+ @Deprecated
public GetCloudPcRemoteActionResultsGetResponse get() {
return get(null);
}
@@ -50,9 +53,12 @@ public GetCloudPcRemoteActionResultsGetResponse get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GetCloudPcRemoteActionResultsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
* @see Find more info here
*/
@jakarta.annotation.Nullable
+ @Deprecated
public GetCloudPcRemoteActionResultsGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -62,8 +68,11 @@ public GetCloudPcRemoteActionResultsGetResponse get(@jakarta.annotation.Nullable
/**
* Check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions.
* @return a {@link RequestInformation}
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() {
* Check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetCloudPcRemoteActionResultsRequestBuilder}
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public GetCloudPcRemoteActionResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetCloudPcRemoteActionResultsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java
index defeaa51d04..9b4023a245c 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java
@@ -7,6 +7,7 @@
import com.microsoft.graph.beta.devicemanagement.configurationpolicies.item.reorder.ReorderRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.configurationpolicies.item.retrieveenrollmenttimedevicemembershiptarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.configurationpolicies.item.retrievelatestupgradedefaultbaselinepolicy.RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.configurationpolicies.item.setenrollmenttimedevicemembershiptarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.configurationpolicies.item.settings.SettingsRequestBuilder;
import com.microsoft.graph.beta.models.DeviceManagementConfigurationPolicy;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
@@ -84,6 +85,14 @@ public RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder retrieveEnroll
public RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder retrieveLatestUpgradeDefaultBaselinePolicy() {
return new RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the setEnrollmentTimeDeviceMembershipTarget method.
+ * @return a {@link SetEnrollmentTimeDeviceMembershipTargetRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetEnrollmentTimeDeviceMembershipTargetRequestBuilder setEnrollmentTimeDeviceMembershipTarget() {
+ return new SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the settings property of the microsoft.graph.deviceManagementConfigurationPolicy entity.
* @return a {@link SettingsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetPostRequestBody.java
new file mode 100644
index 00000000000..905270dcf64
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetPostRequestBody.java
@@ -0,0 +1,108 @@
+package com.microsoft.graph.beta.devicemanagement.configurationpolicies.item.setenrollmenttimedevicemembershiptarget;
+
+import com.microsoft.graph.beta.models.EnrollmentTimeDeviceMembershipTarget;
+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 SetEnrollmentTimeDeviceMembershipTargetPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link SetEnrollmentTimeDeviceMembershipTargetPostRequestBody} and sets the default values.
+ */
+ public SetEnrollmentTimeDeviceMembershipTargetPostRequestBody() {
+ 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 SetEnrollmentTimeDeviceMembershipTargetPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static SetEnrollmentTimeDeviceMembershipTargetPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new SetEnrollmentTimeDeviceMembershipTargetPostRequestBody();
+ }
+ /**
+ * 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 enrollmentTimeDeviceMembershipTargets property value. The enrollmentTimeDeviceMembershipTargets property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getEnrollmentTimeDeviceMembershipTargets() {
+ return this.backingStore.get("enrollmentTimeDeviceMembershipTargets");
+ }
+ /**
+ * 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("enrollmentTimeDeviceMembershipTargets", (n) -> { this.setEnrollmentTimeDeviceMembershipTargets(n.getCollectionOfObjectValues(EnrollmentTimeDeviceMembershipTarget::createFromDiscriminatorValue)); });
+ 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.writeCollectionOfObjectValues("enrollmentTimeDeviceMembershipTargets", this.getEnrollmentTimeDeviceMembershipTargets());
+ 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 enrollmentTimeDeviceMembershipTargets property value. The enrollmentTimeDeviceMembershipTargets property
+ * @param value Value to set for the enrollmentTimeDeviceMembershipTargets property.
+ */
+ public void setEnrollmentTimeDeviceMembershipTargets(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("enrollmentTimeDeviceMembershipTargets", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetRequestBuilder.java
new file mode 100644
index 00000000000..671be35567e
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/configurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.devicemanagement.configurationpolicies.item.setenrollmenttimedevicemembershiptarget;
+
+import com.microsoft.graph.beta.models.EnrollmentTimeDeviceMembershipTargetResult;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the setEnrollmentTimeDeviceMembershipTarget method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SetEnrollmentTimeDeviceMembershipTargetRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link SetEnrollmentTimeDeviceMembershipTargetRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/setEnrollmentTimeDeviceMembershipTarget", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SetEnrollmentTimeDeviceMembershipTargetRequestBuilder} 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 SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicy%2Did}/setEnrollmentTimeDeviceMembershipTarget", rawUrl);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @param body The request body
+ * @return a {@link EnrollmentTimeDeviceMembershipTargetResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EnrollmentTimeDeviceMembershipTargetResult post(@jakarta.annotation.Nonnull final SetEnrollmentTimeDeviceMembershipTargetPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EnrollmentTimeDeviceMembershipTargetResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EnrollmentTimeDeviceMembershipTargetResult post(@jakarta.annotation.Nonnull final SetEnrollmentTimeDeviceMembershipTargetPostRequestBody 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, EnrollmentTimeDeviceMembershipTargetResult::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetEnrollmentTimeDeviceMembershipTargetPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @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 SetEnrollmentTimeDeviceMembershipTargetPostRequestBody 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 SetEnrollmentTimeDeviceMembershipTargetRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetEnrollmentTimeDeviceMembershipTargetRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java
index 7adff25300c..62ca53adbac 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java
@@ -60,7 +60,7 @@ public ScheduledActionsForRuleRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -69,7 +69,7 @@ public DeviceComplianceScheduledActionForRuleCollectionResponse get() {
return get(null);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,7 +107,7 @@ public DeviceComplianceScheduledActionForRule post(@jakarta.annotation.Nonnull f
return this.requestAdapter.send(requestInfo, errorMapping, DeviceComplianceScheduledActionForRule::createFromDiscriminatorValue);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +161,7 @@ public ScheduledActionsForRuleRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new ScheduledActionsForRuleRequestBuilder(rawUrl, requestAdapter);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java
index 9623fa78d19..f22b6c211bf 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java
@@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @return a {@link DeviceComplianceScheduledActionForRule}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -73,7 +73,7 @@ public DeviceComplianceScheduledActionForRule get() {
return get(null);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceComplianceScheduledActionForRule}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -191,7 +191,7 @@ public DeviceComplianceScheduledActionForRuleItemRequestBuilder withUrl(@jakarta
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
+ * The list of scheduled action for this rule
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java
index 524d32bc672..b5c1abbb7e3 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/ManagedDeviceItemRequestBuilder.java
@@ -3,6 +3,7 @@
import com.microsoft.graph.beta.devicemanagement.manageddevices.item.activatedeviceesim.ActivateDeviceEsimRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.manageddevices.item.assignmentfilterevaluationstatusdetails.AssignmentFilterEvaluationStatusDetailsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.manageddevices.item.bypassactivationlock.BypassActivationLockRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.manageddevices.item.changeassignments.ChangeAssignmentsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.manageddevices.item.cleanwindowsdevice.CleanWindowsDeviceRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.manageddevices.item.createdevicelogcollectionrequest.CreateDeviceLogCollectionRequestRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.manageddevices.item.deleteuserfromsharedappledevice.DeleteUserFromSharedAppleDeviceRequestBuilder;
@@ -102,6 +103,14 @@ public AssignmentFilterEvaluationStatusDetailsRequestBuilder assignmentFilterEva
public BypassActivationLockRequestBuilder bypassActivationLock() {
return new BypassActivationLockRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the changeAssignments method.
+ * @return a {@link ChangeAssignmentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChangeAssignmentsRequestBuilder changeAssignments() {
+ return new ChangeAssignmentsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the cleanWindowsDevice method.
* @return a {@link CleanWindowsDeviceRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/changeassignments/ChangeAssignmentsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/changeassignments/ChangeAssignmentsPostRequestBody.java
new file mode 100644
index 00000000000..d99393d512b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/changeassignments/ChangeAssignmentsPostRequestBody.java
@@ -0,0 +1,108 @@
+package com.microsoft.graph.beta.devicemanagement.manageddevices.item.changeassignments;
+
+import com.microsoft.graph.beta.models.DeviceAssignmentItem;
+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 ChangeAssignmentsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ChangeAssignmentsPostRequestBody} and sets the default values.
+ */
+ public ChangeAssignmentsPostRequestBody() {
+ 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 ChangeAssignmentsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static ChangeAssignmentsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ChangeAssignmentsPostRequestBody();
+ }
+ /**
+ * 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 deviceAssignmentItems property value. The deviceAssignmentItems property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getDeviceAssignmentItems() {
+ return this.backingStore.get("deviceAssignmentItems");
+ }
+ /**
+ * 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("deviceAssignmentItems", (n) -> { this.setDeviceAssignmentItems(n.getCollectionOfObjectValues(DeviceAssignmentItem::createFromDiscriminatorValue)); });
+ 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.writeCollectionOfObjectValues("deviceAssignmentItems", this.getDeviceAssignmentItems());
+ 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 deviceAssignmentItems property value. The deviceAssignmentItems property
+ * @param value Value to set for the deviceAssignmentItems property.
+ */
+ public void setDeviceAssignmentItems(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("deviceAssignmentItems", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/changeassignments/ChangeAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/changeassignments/ChangeAssignmentsRequestBuilder.java
new file mode 100644
index 00000000000..b6d7e7d7c1c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/changeassignments/ChangeAssignmentsRequestBuilder.java
@@ -0,0 +1,98 @@
+package com.microsoft.graph.beta.devicemanagement.manageddevices.item.changeassignments;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the changeAssignments method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ChangeAssignmentsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ChangeAssignmentsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ChangeAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/changeAssignments", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ChangeAssignmentsRequestBuilder} 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 ChangeAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDevices/{managedDevice%2Did}/changeAssignments", rawUrl);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void post(@jakarta.annotation.Nonnull final ChangeAssignmentsPostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @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
+ */
+ public void post(@jakarta.annotation.Nonnull final ChangeAssignmentsPostRequestBody 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);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ChangeAssignmentsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action changeAssignments
+ * @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 ChangeAssignmentsPostRequestBody 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 ChangeAssignmentsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ChangeAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ChangeAssignmentsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java
index 37093f54dfe..24f817ec063 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevices/item/getcloudpcremoteactionresults/GetCloudPcRemoteActionResultsRequestBuilder.java
@@ -39,9 +39,12 @@ public GetCloudPcRemoteActionResultsRequestBuilder(@jakarta.annotation.Nonnull f
* Check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions.
* @return a {@link GetCloudPcRemoteActionResultsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
* @see Find more info here
*/
@jakarta.annotation.Nullable
+ @Deprecated
public GetCloudPcRemoteActionResultsGetResponse get() {
return get(null);
}
@@ -50,9 +53,12 @@ public GetCloudPcRemoteActionResultsGetResponse get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GetCloudPcRemoteActionResultsGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
* @see Find more info here
*/
@jakarta.annotation.Nullable
+ @Deprecated
public GetCloudPcRemoteActionResultsGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
final HashMap> errorMapping = new HashMap>();
@@ -62,8 +68,11 @@ public GetCloudPcRemoteActionResultsGetResponse get(@jakarta.annotation.Nullable
/**
* Check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions.
* @return a {@link RequestInformation}
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
@@ -71,8 +80,11 @@ public RequestInformation toGetRequestInformation() {
* Check the Cloud PC-specified remote action results for a Cloud PC device. Cloud PC supports reprovision and resize remote actions.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -83,8 +95,11 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link GetCloudPcRemoteActionResultsRequestBuilder}
+ * @deprecated
+ * Starting September 30, 2024, getCloudPcRemoteActionResults API bound to managedDevice entity will be deprecated and no longer supported. Please use retrieveCloudPcRemoteActionResults API bound to cloudpc entity instead. as of 2024-05/getCloudPcRemoteActionResults
*/
@jakarta.annotation.Nonnull
+ @Deprecated
public GetCloudPcRemoteActionResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new GetCloudPcRemoteActionResultsRequestBuilder(rawUrl, requestAdapter);
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/ManagedDeviceWindowsOSImagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/ManagedDeviceWindowsOSImagesRequestBuilder.java
new file mode 100644
index 00000000000..d3421015817
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/ManagedDeviceWindowsOSImagesRequestBuilder.java
@@ -0,0 +1,243 @@
+package com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages;
+
+import com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.count.CountRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.item.ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder;
+import com.microsoft.graph.beta.models.ManagedDeviceWindowsOperatingSystemImage;
+import com.microsoft.graph.beta.models.ManagedDeviceWindowsOperatingSystemImageCollectionResponse;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the managedDeviceWindowsOSImages property of the microsoft.graph.deviceManagement entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ManagedDeviceWindowsOSImagesRequestBuilder 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 managedDeviceWindowsOSImages property of the microsoft.graph.deviceManagement entity.
+ * @param managedDeviceWindowsOperatingSystemImageId The unique identifier of managedDeviceWindowsOperatingSystemImage
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder byManagedDeviceWindowsOperatingSystemImageId(@jakarta.annotation.Nonnull final String managedDeviceWindowsOperatingSystemImageId) {
+ Objects.requireNonNull(managedDeviceWindowsOperatingSystemImageId);
+ final HashMap urlTplParams = new HashMap(this.pathParameters);
+ urlTplParams.put("managedDeviceWindowsOperatingSystemImage%2Did", managedDeviceWindowsOperatingSystemImageId);
+ return new ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder(urlTplParams, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link ManagedDeviceWindowsOSImagesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ManagedDeviceWindowsOSImagesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDeviceWindowsOSImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ManagedDeviceWindowsOSImagesRequestBuilder} 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 ManagedDeviceWindowsOSImagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDeviceWindowsOSImages{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImageCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImageCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImageCollectionResponse 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, ManagedDeviceWindowsOperatingSystemImageCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Create new navigation property to managedDeviceWindowsOSImages for deviceManagement
+ * @param body The request body
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImage post(@jakarta.annotation.Nonnull final ManagedDeviceWindowsOperatingSystemImage body) {
+ return post(body, null);
+ }
+ /**
+ * Create new navigation property to managedDeviceWindowsOSImages for deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImage post(@jakarta.annotation.Nonnull final ManagedDeviceWindowsOperatingSystemImage 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, ManagedDeviceWindowsOperatingSystemImage::createFromDiscriminatorValue);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @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 managedDeviceWindowsOSImages for deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceWindowsOperatingSystemImage body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Create new navigation property to managedDeviceWindowsOSImages 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 ManagedDeviceWindowsOperatingSystemImage 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 ManagedDeviceWindowsOSImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ManagedDeviceWindowsOSImagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ManagedDeviceWindowsOSImagesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..5a6c59c2597
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.count;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to count the resources in the collection.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CountRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CountRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDeviceWindowsOSImages/$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/managedDeviceWindowsOSImages/$count{?%24filter,%24search}", rawUrl);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get() {
+ return get(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link Integer}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class);
+ }
+ /**
+ * Get the number of the resource
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the number of the resource
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
+ requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9");
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CountRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the number of the resource
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder.java
new file mode 100644
index 00000000000..5b3bba13823
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder.java
@@ -0,0 +1,237 @@
+package com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.item;
+
+import com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.item.getallmanageddevicewindowsosimages.GetAllManagedDeviceWindowsOSImagesRequestBuilder;
+import com.microsoft.graph.beta.models.ManagedDeviceWindowsOperatingSystemImage;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to manage the managedDeviceWindowsOSImages property of the microsoft.graph.deviceManagement entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the getAllManagedDeviceWindowsOSImages method.
+ * @return a {@link GetAllManagedDeviceWindowsOSImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetAllManagedDeviceWindowsOSImagesRequestBuilder getAllManagedDeviceWindowsOSImages() {
+ return new GetAllManagedDeviceWindowsOSImagesRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDeviceWindowsOSImages/{managedDeviceWindowsOperatingSystemImage%2Did}{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder} 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 ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDeviceWindowsOSImages/{managedDeviceWindowsOperatingSystemImage%2Did}{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Delete navigation property managedDeviceWindowsOSImages for deviceManagement
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete() {
+ delete(null);
+ }
+ /**
+ * Delete navigation property managedDeviceWindowsOSImages for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
+ final HashMap> errorMapping = new HashMap>();
+ errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
+ this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImage get() {
+ return get(null);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImage 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, ManagedDeviceWindowsOperatingSystemImage::createFromDiscriminatorValue);
+ }
+ /**
+ * Update the navigation property managedDeviceWindowsOSImages in deviceManagement
+ * @param body The request body
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImage patch(@jakarta.annotation.Nonnull final ManagedDeviceWindowsOperatingSystemImage body) {
+ return patch(body, null);
+ }
+ /**
+ * Update the navigation property managedDeviceWindowsOSImages in deviceManagement
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImage}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public ManagedDeviceWindowsOperatingSystemImage patch(@jakarta.annotation.Nonnull final ManagedDeviceWindowsOperatingSystemImage 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, ManagedDeviceWindowsOperatingSystemImage::createFromDiscriminatorValue);
+ }
+ /**
+ * Delete navigation property managedDeviceWindowsOSImages for deviceManagement
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation() {
+ return toDeleteRequestInformation(null);
+ }
+ /**
+ * Delete navigation property managedDeviceWindowsOSImages for deviceManagement
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * A list of ManagedDeviceWindowsOperatingSystemImages
+ * @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 managedDeviceWindowsOSImages in deviceManagement
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ManagedDeviceWindowsOperatingSystemImage body) {
+ return toPatchRequestInformation(body, null);
+ }
+ /**
+ * Update the navigation property managedDeviceWindowsOSImages 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 ManagedDeviceWindowsOperatingSystemImage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ManagedDeviceWindowsOperatingSystemImageItemRequestBuilder(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 list of ManagedDeviceWindowsOperatingSystemImages
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PatchRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/getallmanageddevicewindowsosimages/GetAllManagedDeviceWindowsOSImagesGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/getallmanageddevicewindowsosimages/GetAllManagedDeviceWindowsOSImagesGetResponse.java
new file mode 100644
index 00000000000..b843a48de9f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/getallmanageddevicewindowsosimages/GetAllManagedDeviceWindowsOSImagesGetResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.item.getallmanageddevicewindowsosimages;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.beta.models.ManagedDeviceWindowsOperatingSystemImage;
+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 GetAllManagedDeviceWindowsOSImagesGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetAllManagedDeviceWindowsOSImagesGetResponse} and sets the default values.
+ */
+ public GetAllManagedDeviceWindowsOSImagesGetResponse() {
+ 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 GetAllManagedDeviceWindowsOSImagesGetResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetAllManagedDeviceWindowsOSImagesGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetAllManagedDeviceWindowsOSImagesGetResponse();
+ }
+ /**
+ * 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(ManagedDeviceWindowsOperatingSystemImage::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/getallmanageddevicewindowsosimages/GetAllManagedDeviceWindowsOSImagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/getallmanageddevicewindowsosimages/GetAllManagedDeviceWindowsOSImagesRequestBuilder.java
new file mode 100644
index 00000000000..cba45ed4627
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/manageddevicewindowsosimages/item/getallmanageddevicewindowsosimages/GetAllManagedDeviceWindowsOSImagesRequestBuilder.java
@@ -0,0 +1,164 @@
+package com.microsoft.graph.beta.devicemanagement.manageddevicewindowsosimages.item.getallmanageddevicewindowsosimages;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the getAllManagedDeviceWindowsOSImages method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetAllManagedDeviceWindowsOSImagesRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetAllManagedDeviceWindowsOSImagesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetAllManagedDeviceWindowsOSImagesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDeviceWindowsOSImages/{managedDeviceWindowsOperatingSystemImage%2Did}/getAllManagedDeviceWindowsOSImages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetAllManagedDeviceWindowsOSImagesRequestBuilder} 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 GetAllManagedDeviceWindowsOSImagesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/managedDeviceWindowsOSImages/{managedDeviceWindowsOperatingSystemImage%2Did}/getAllManagedDeviceWindowsOSImages(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Invoke function getAllManagedDeviceWindowsOSImages
+ * @return a {@link GetAllManagedDeviceWindowsOSImagesGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetAllManagedDeviceWindowsOSImagesGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Invoke function getAllManagedDeviceWindowsOSImages
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetAllManagedDeviceWindowsOSImagesGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetAllManagedDeviceWindowsOSImagesGetResponse 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, GetAllManagedDeviceWindowsOSImagesGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke function getAllManagedDeviceWindowsOSImages
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Invoke function getAllManagedDeviceWindowsOSImages
+ * @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 GetAllManagedDeviceWindowsOSImagesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetAllManagedDeviceWindowsOSImagesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetAllManagedDeviceWindowsOSImagesRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Invoke function getAllManagedDeviceWindowsOSImages
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Include count of items
+ */
+ @jakarta.annotation.Nullable
+ public Boolean count;
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Filter items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String filter;
+ /**
+ * Order items by property values
+ */
+ @jakarta.annotation.Nullable
+ public String[] orderby;
+ /**
+ * Search items by search phrases
+ */
+ @jakarta.annotation.Nullable
+ public String search;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Skip the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer skip;
+ /**
+ * Show only the first n items
+ */
+ @jakarta.annotation.Nullable
+ public Integer top;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24count", count);
+ allQueryParams.put("%24filter", filter);
+ allQueryParams.put("%24search", search);
+ allQueryParams.put("%24skip", skip);
+ allQueryParams.put("%24top", top);
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24orderby", orderby);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java
index 1ac56ed7cab..26d812ece28 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/AppLogCollectionRequestsRequestBuilder.java
@@ -60,7 +60,7 @@ public AppLogCollectionRequestsRequestBuilder(@jakarta.annotation.Nonnull final
super(requestAdapter, "{+baseurl}/deviceManagement/mobileAppTroubleshootingEvents/{mobileAppTroubleshootingEvent%2Did}/appLogCollectionRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @return a {@link AppLogCollectionRequestCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -69,7 +69,7 @@ public AppLogCollectionRequestCollectionResponse get() {
return get(null);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AppLogCollectionRequestCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,7 +107,7 @@ public AppLogCollectionRequest post(@jakarta.annotation.Nonnull final AppLogColl
return this.requestAdapter.send(requestInfo, errorMapping, AppLogCollectionRequest::createFromDiscriminatorValue);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -161,7 +161,7 @@ public AppLogCollectionRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnul
return new AppLogCollectionRequestsRequestBuilder(rawUrl, requestAdapter);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java
index 4f28260f8c5..2e77fd4d2b6 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/mobileapptroubleshootingevents/item/applogcollectionrequests/item/AppLogCollectionRequestItemRequestBuilder.java
@@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @return a {@link AppLogCollectionRequest}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
@@ -73,7 +73,7 @@ public AppLogCollectionRequest get() {
return get(null);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link AppLogCollectionRequest}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
@@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
@@ -191,7 +191,7 @@ public AppLogCollectionRequestItemRequestBuilder withUrl(@jakarta.annotation.Non
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
- * Indicates collection of App Log Upload Request.
+ * The collection property of AppLogUploadRequest.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java
index 6700ebab91a..d9c6706a3af 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java
@@ -73,6 +73,7 @@
import com.microsoft.graph.beta.devicemanagement.reports.getwindowsupdatealertsummaryreport.GetWindowsUpdateAlertSummaryReportRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reports.getzebrafotadeploymentreport.GetZebraFotaDeploymentReportRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reports.retrieveassignedapplicationsreport.RetrieveAssignedApplicationsReportRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.reports.retrievewin32catalogappsupdatereport.RetrieveWin32CatalogAppsUpdateReportRequestBuilder;
import com.microsoft.graph.beta.models.DeviceManagementReports;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -677,6 +678,14 @@ public GetZebraFotaDeploymentReportRequestBuilder getZebraFotaDeploymentReport()
public RetrieveAssignedApplicationsReportRequestBuilder retrieveAssignedApplicationsReport() {
return new RetrieveAssignedApplicationsReportRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the retrieveWin32CatalogAppsUpdateReport method.
+ * @return a {@link RetrieveWin32CatalogAppsUpdateReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveWin32CatalogAppsUpdateReportRequestBuilder retrieveWin32CatalogAppsUpdateReport() {
+ return new RetrieveWin32CatalogAppsUpdateReportRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link ReportsRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievewin32catalogappsupdatereport/RetrieveWin32CatalogAppsUpdateReportPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievewin32catalogappsupdatereport/RetrieveWin32CatalogAppsUpdateReportPostRequestBody.java
new file mode 100644
index 00000000000..389fe10f709
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievewin32catalogappsupdatereport/RetrieveWin32CatalogAppsUpdateReportPostRequestBody.java
@@ -0,0 +1,243 @@
+package com.microsoft.graph.beta.devicemanagement.reports.retrievewin32catalogappsupdatereport;
+
+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 RetrieveWin32CatalogAppsUpdateReportPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RetrieveWin32CatalogAppsUpdateReportPostRequestBody} and sets the default values.
+ */
+ public RetrieveWin32CatalogAppsUpdateReportPostRequestBody() {
+ 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 RetrieveWin32CatalogAppsUpdateReportPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RetrieveWin32CatalogAppsUpdateReportPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RetrieveWin32CatalogAppsUpdateReportPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(9);
+ deserializerMap.put("filter", (n) -> { this.setFilter(n.getStringValue()); });
+ deserializerMap.put("groupBy", (n) -> { this.setGroupBy(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("name", (n) -> { this.setName(n.getStringValue()); });
+ deserializerMap.put("orderBy", (n) -> { this.setOrderBy(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("search", (n) -> { this.setSearch(n.getStringValue()); });
+ deserializerMap.put("select", (n) -> { this.setSelect(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("sessionId", (n) -> { this.setSessionId(n.getStringValue()); });
+ deserializerMap.put("skip", (n) -> { this.setSkip(n.getIntegerValue()); });
+ deserializerMap.put("top", (n) -> { this.setTop(n.getIntegerValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the filter property value. The filter property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getFilter() {
+ return this.backingStore.get("filter");
+ }
+ /**
+ * Gets the groupBy property value. The groupBy property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getGroupBy() {
+ return this.backingStore.get("groupBy");
+ }
+ /**
+ * Gets the name property value. The name property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getName() {
+ return this.backingStore.get("name");
+ }
+ /**
+ * Gets the orderBy property value. The orderBy property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getOrderBy() {
+ return this.backingStore.get("orderBy");
+ }
+ /**
+ * Gets the search property value. The search property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getSearch() {
+ return this.backingStore.get("search");
+ }
+ /**
+ * Gets the select property value. The select property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getSelect() {
+ return this.backingStore.get("select");
+ }
+ /**
+ * Gets the sessionId property value. The sessionId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getSessionId() {
+ return this.backingStore.get("sessionId");
+ }
+ /**
+ * Gets the skip property value. The skip property
+ * @return a {@link Integer}
+ */
+ @jakarta.annotation.Nullable
+ public Integer getSkip() {
+ return this.backingStore.get("skip");
+ }
+ /**
+ * Gets the top property value. The top property
+ * @return a {@link Integer}
+ */
+ @jakarta.annotation.Nullable
+ public Integer getTop() {
+ return this.backingStore.get("top");
+ }
+ /**
+ * 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("filter", this.getFilter());
+ writer.writeCollectionOfPrimitiveValues("groupBy", this.getGroupBy());
+ writer.writeStringValue("name", this.getName());
+ writer.writeCollectionOfPrimitiveValues("orderBy", this.getOrderBy());
+ writer.writeStringValue("search", this.getSearch());
+ writer.writeCollectionOfPrimitiveValues("select", this.getSelect());
+ writer.writeStringValue("sessionId", this.getSessionId());
+ writer.writeIntegerValue("skip", this.getSkip());
+ writer.writeIntegerValue("top", this.getTop());
+ 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 filter property value. The filter property
+ * @param value Value to set for the filter property.
+ */
+ public void setFilter(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("filter", value);
+ }
+ /**
+ * Sets the groupBy property value. The groupBy property
+ * @param value Value to set for the groupBy property.
+ */
+ public void setGroupBy(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("groupBy", value);
+ }
+ /**
+ * Sets the name property value. The name property
+ * @param value Value to set for the name property.
+ */
+ public void setName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("name", value);
+ }
+ /**
+ * Sets the orderBy property value. The orderBy property
+ * @param value Value to set for the orderBy property.
+ */
+ public void setOrderBy(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("orderBy", value);
+ }
+ /**
+ * Sets the search property value. The search property
+ * @param value Value to set for the search property.
+ */
+ public void setSearch(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("search", value);
+ }
+ /**
+ * Sets the select property value. The select property
+ * @param value Value to set for the select property.
+ */
+ public void setSelect(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("select", value);
+ }
+ /**
+ * Sets the sessionId property value. The sessionId property
+ * @param value Value to set for the sessionId property.
+ */
+ public void setSessionId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("sessionId", value);
+ }
+ /**
+ * Sets the skip property value. The skip property
+ * @param value Value to set for the skip property.
+ */
+ public void setSkip(@jakarta.annotation.Nullable final Integer value) {
+ this.backingStore.set("skip", value);
+ }
+ /**
+ * Sets the top property value. The top property
+ * @param value Value to set for the top property.
+ */
+ public void setTop(@jakarta.annotation.Nullable final Integer value) {
+ this.backingStore.set("top", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievewin32catalogappsupdatereport/RetrieveWin32CatalogAppsUpdateReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievewin32catalogappsupdatereport/RetrieveWin32CatalogAppsUpdateReportRequestBuilder.java
new file mode 100644
index 00000000000..bc07383ab6b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievewin32catalogappsupdatereport/RetrieveWin32CatalogAppsUpdateReportRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.devicemanagement.reports.retrievewin32catalogappsupdatereport;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.io.InputStream;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the retrieveWin32CatalogAppsUpdateReport method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RetrieveWin32CatalogAppsUpdateReportRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RetrieveWin32CatalogAppsUpdateReportRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RetrieveWin32CatalogAppsUpdateReportRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveWin32CatalogAppsUpdateReport", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RetrieveWin32CatalogAppsUpdateReportRequestBuilder} 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 RetrieveWin32CatalogAppsUpdateReportRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveWin32CatalogAppsUpdateReport", rawUrl);
+ }
+ /**
+ * Invoke action retrieveWin32CatalogAppsUpdateReport
+ * @param body The request body
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream post(@jakarta.annotation.Nonnull final RetrieveWin32CatalogAppsUpdateReportPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action retrieveWin32CatalogAppsUpdateReport
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link InputStream}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public InputStream post(@jakarta.annotation.Nonnull final RetrieveWin32CatalogAppsUpdateReportPostRequestBody 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.sendPrimitive(requestInfo, errorMapping, InputStream.class);
+ }
+ /**
+ * Invoke action retrieveWin32CatalogAppsUpdateReport
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveWin32CatalogAppsUpdateReportPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action retrieveWin32CatalogAppsUpdateReport
+ * @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 RetrieveWin32CatalogAppsUpdateReportPostRequestBody 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/octet-stream, 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 RetrieveWin32CatalogAppsUpdateReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveWin32CatalogAppsUpdateReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RetrieveWin32CatalogAppsUpdateReportRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java
index 5b84a2d47e9..2f2d820bfe2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/DeviceManagementConfigurationPolicyItemRequestBuilder.java
@@ -7,6 +7,7 @@
import com.microsoft.graph.beta.devicemanagement.reusablepolicysettings.item.referencingconfigurationpolicies.item.reorder.ReorderRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reusablepolicysettings.item.referencingconfigurationpolicies.item.retrieveenrollmenttimedevicemembershiptarget.RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reusablepolicysettings.item.referencingconfigurationpolicies.item.retrievelatestupgradedefaultbaselinepolicy.RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.reusablepolicysettings.item.referencingconfigurationpolicies.item.setenrollmenttimedevicemembershiptarget.SetEnrollmentTimeDeviceMembershipTargetRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reusablepolicysettings.item.referencingconfigurationpolicies.item.settings.SettingsRequestBuilder;
import com.microsoft.graph.beta.models.DeviceManagementConfigurationPolicy;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
@@ -84,6 +85,14 @@ public RetrieveEnrollmentTimeDeviceMembershipTargetRequestBuilder retrieveEnroll
public RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder retrieveLatestUpgradeDefaultBaselinePolicy() {
return new RetrieveLatestUpgradeDefaultBaselinePolicyRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the setEnrollmentTimeDeviceMembershipTarget method.
+ * @return a {@link SetEnrollmentTimeDeviceMembershipTargetRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetEnrollmentTimeDeviceMembershipTargetRequestBuilder setEnrollmentTimeDeviceMembershipTarget() {
+ return new SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the settings property of the microsoft.graph.deviceManagementConfigurationPolicy entity.
* @return a {@link SettingsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetPostRequestBody.java
new file mode 100644
index 00000000000..d7768cf98e0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetPostRequestBody.java
@@ -0,0 +1,108 @@
+package com.microsoft.graph.beta.devicemanagement.reusablepolicysettings.item.referencingconfigurationpolicies.item.setenrollmenttimedevicemembershiptarget;
+
+import com.microsoft.graph.beta.models.EnrollmentTimeDeviceMembershipTarget;
+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 SetEnrollmentTimeDeviceMembershipTargetPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link SetEnrollmentTimeDeviceMembershipTargetPostRequestBody} and sets the default values.
+ */
+ public SetEnrollmentTimeDeviceMembershipTargetPostRequestBody() {
+ 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 SetEnrollmentTimeDeviceMembershipTargetPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static SetEnrollmentTimeDeviceMembershipTargetPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new SetEnrollmentTimeDeviceMembershipTargetPostRequestBody();
+ }
+ /**
+ * 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 enrollmentTimeDeviceMembershipTargets property value. The enrollmentTimeDeviceMembershipTargets property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getEnrollmentTimeDeviceMembershipTargets() {
+ return this.backingStore.get("enrollmentTimeDeviceMembershipTargets");
+ }
+ /**
+ * 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("enrollmentTimeDeviceMembershipTargets", (n) -> { this.setEnrollmentTimeDeviceMembershipTargets(n.getCollectionOfObjectValues(EnrollmentTimeDeviceMembershipTarget::createFromDiscriminatorValue)); });
+ 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.writeCollectionOfObjectValues("enrollmentTimeDeviceMembershipTargets", this.getEnrollmentTimeDeviceMembershipTargets());
+ 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 enrollmentTimeDeviceMembershipTargets property value. The enrollmentTimeDeviceMembershipTargets property
+ * @param value Value to set for the enrollmentTimeDeviceMembershipTargets property.
+ */
+ public void setEnrollmentTimeDeviceMembershipTargets(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("enrollmentTimeDeviceMembershipTargets", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetRequestBuilder.java
new file mode 100644
index 00000000000..96da872e428
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reusablepolicysettings/item/referencingconfigurationpolicies/item/setenrollmenttimedevicemembershiptarget/SetEnrollmentTimeDeviceMembershipTargetRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.devicemanagement.reusablepolicysettings.item.referencingconfigurationpolicies.item.setenrollmenttimedevicemembershiptarget;
+
+import com.microsoft.graph.beta.models.EnrollmentTimeDeviceMembershipTargetResult;
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the setEnrollmentTimeDeviceMembershipTarget method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class SetEnrollmentTimeDeviceMembershipTargetRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link SetEnrollmentTimeDeviceMembershipTargetRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/setEnrollmentTimeDeviceMembershipTarget", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link SetEnrollmentTimeDeviceMembershipTargetRequestBuilder} 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 SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reusablePolicySettings/{deviceManagementReusablePolicySetting%2Did}/referencingConfigurationPolicies/{deviceManagementConfigurationPolicy%2Did}/setEnrollmentTimeDeviceMembershipTarget", rawUrl);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @param body The request body
+ * @return a {@link EnrollmentTimeDeviceMembershipTargetResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EnrollmentTimeDeviceMembershipTargetResult post(@jakarta.annotation.Nonnull final SetEnrollmentTimeDeviceMembershipTargetPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link EnrollmentTimeDeviceMembershipTargetResult}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public EnrollmentTimeDeviceMembershipTargetResult post(@jakarta.annotation.Nonnull final SetEnrollmentTimeDeviceMembershipTargetPostRequestBody 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, EnrollmentTimeDeviceMembershipTargetResult::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final SetEnrollmentTimeDeviceMembershipTargetPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action setEnrollmentTimeDeviceMembershipTarget
+ * @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 SetEnrollmentTimeDeviceMembershipTargetPostRequestBody 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 SetEnrollmentTimeDeviceMembershipTargetRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public SetEnrollmentTimeDeviceMembershipTargetRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new SetEnrollmentTimeDeviceMembershipTargetRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
index 46e19434598..b8888bc5190 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/VirtualEndpointRequestBuilder.java
@@ -16,7 +16,6 @@
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.retrievescopedpermissions.RetrieveScopedPermissionsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.retrievetenantencryptionsetting.RetrieveTenantEncryptionSettingRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.serviceplans.ServicePlansRequestBuilder;
-import com.microsoft.graph.beta.devicemanagement.virtualendpoint.shareduseserviceplans.SharedUseServicePlansRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.snapshots.SnapshotsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.supportedregions.SupportedRegionsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.usersettings.UserSettingsRequestBuilder;
@@ -168,14 +167,6 @@ public RetrieveTenantEncryptionSettingRequestBuilder retrieveTenantEncryptionSet
public ServicePlansRequestBuilder servicePlans() {
return new ServicePlansRequestBuilder(pathParameters, requestAdapter);
}
- /**
- * Provides operations to manage the sharedUseServicePlans property of the microsoft.graph.virtualEndpoint entity.
- * @return a {@link SharedUseServicePlansRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public SharedUseServicePlansRequestBuilder sharedUseServicePlans() {
- return new SharedUseServicePlansRequestBuilder(pathParameters, requestAdapter);
- }
/**
* Provides operations to manage the snapshots property of the microsoft.graph.virtualEndpoint entity.
* @return a {@link SnapshotsRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java
index 6e89fc1f727..888b5789ca2 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/CloudPCItemRequestBuilder.java
@@ -6,7 +6,6 @@
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.getcloudpcconnectivityhistory.GetCloudPcConnectivityHistoryRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.getcloudpclaunchinfo.GetCloudPcLaunchInfoRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.getfrontlinecloudpcaccessstate.GetFrontlineCloudPcAccessStateRequestBuilder;
-import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.getshiftworkcloudpcaccessstate.GetShiftWorkCloudPcAccessStateRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.getsupportedcloudpcremoteactions.GetSupportedCloudPcRemoteActionsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.poweroff.PowerOffRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.poweron.PowerOnRequestBuilder;
@@ -15,6 +14,7 @@
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.reprovision.ReprovisionRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.resize.ResizeRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.restore.RestoreRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.retrievecloudpcremoteactionresults.RetrieveCloudPCRemoteActionResultsRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.retrievereviewstatus.RetrieveReviewStatusRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.retrypartneragentinstallation.RetryPartnerAgentInstallationRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.setreviewstatus.SetReviewStatusRequestBuilder;
@@ -89,14 +89,6 @@ public GetCloudPcLaunchInfoRequestBuilder getCloudPcLaunchInfo() {
public GetFrontlineCloudPcAccessStateRequestBuilder getFrontlineCloudPcAccessState() {
return new GetFrontlineCloudPcAccessStateRequestBuilder(pathParameters, requestAdapter);
}
- /**
- * Provides operations to call the getShiftWorkCloudPcAccessState method.
- * @return a {@link GetShiftWorkCloudPcAccessStateRequestBuilder}
- */
- @jakarta.annotation.Nonnull
- public GetShiftWorkCloudPcAccessStateRequestBuilder getShiftWorkCloudPcAccessState() {
- return new GetShiftWorkCloudPcAccessStateRequestBuilder(pathParameters, requestAdapter);
- }
/**
* Provides operations to call the getSupportedCloudPcRemoteActions method.
* @return a {@link GetSupportedCloudPcRemoteActionsRequestBuilder}
@@ -161,6 +153,14 @@ public ResizeRequestBuilder resize() {
public RestoreRequestBuilder restore() {
return new RestoreRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the retrieveCloudPCRemoteActionResults method.
+ * @return a {@link RetrieveCloudPCRemoteActionResultsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPCRemoteActionResultsRequestBuilder retrieveCloudPCRemoteActionResults() {
+ return new RetrieveCloudPCRemoteActionResultsRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the retrieveReviewStatus method.
* @return a {@link RetrieveReviewStatusRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/getshiftworkcloudpcaccessstate/GetShiftWorkCloudPcAccessStateRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/getshiftworkcloudpcaccessstate/GetShiftWorkCloudPcAccessStateRequestBuilder.java
deleted file mode 100644
index 22753aaa6ae..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/getshiftworkcloudpcaccessstate/GetShiftWorkCloudPcAccessStateRequestBuilder.java
+++ /dev/null
@@ -1,113 +0,0 @@
-package com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.getshiftworkcloudpcaccessstate;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.graph.beta.models.ShiftWorkCloudPcAccessState;
-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 getShiftWorkCloudPcAccessState method.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class GetShiftWorkCloudPcAccessStateRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link GetShiftWorkCloudPcAccessStateRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public GetShiftWorkCloudPcAccessStateRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/getShiftWorkCloudPcAccessState()", pathParameters);
- }
- /**
- * Instantiates a new {@link GetShiftWorkCloudPcAccessStateRequestBuilder} 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 GetShiftWorkCloudPcAccessStateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/getShiftWorkCloudPcAccessState()", rawUrl);
- }
- /**
- * Get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'.
- * @return a {@link ShiftWorkCloudPcAccessState}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- @Deprecated
- public ShiftWorkCloudPcAccessState get() {
- return get(null);
- }
- /**
- * Get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link ShiftWorkCloudPcAccessState}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- @Deprecated
- public ShiftWorkCloudPcAccessState 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.sendEnum(requestInfo, errorMapping, ShiftWorkCloudPcAccessState::forValue);
- }
- /**
- * Get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'.
- * @return a {@link RequestInformation}
- * @deprecated
- * The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Get the shiftWorkCloudPcAccessState of a shift work Cloud PC. This API only supports shared-use licenses. For more information, see cloudPcProvisioningPolicy. Shared-use licenses allow three users per license, with one user signed in at a time. Callers can get the latest shift work Cloud PC accessState and determine whether the shift work Cloud PC is accessible to the user. If a web client needs to connect to a shift work Cloud PC, the sharedCloudPcAccessState validates the bookmark scenario. If sharedCloudPcAccessState is not active/activating/standbyMode, the web client shows a 'bad bookmark'.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- * @deprecated
- * The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new);
- 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 GetShiftWorkCloudPcAccessStateRequestBuilder}
- * @deprecated
- * The getShiftWorkCloudPcAccessState API is deprecated and will stop returning data on Dec 31, 2023. Please use the new getFrontlineCloudPcAccessState API as of 2023-08/getShiftWorkCloudPcAccessState
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public GetShiftWorkCloudPcAccessStateRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new GetShiftWorkCloudPcAccessStateRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/retrievecloudpcremoteactionresults/RetrieveCloudPCRemoteActionResultsGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/retrievecloudpcremoteactionresults/RetrieveCloudPCRemoteActionResultsGetResponse.java
new file mode 100644
index 00000000000..9d29aa11e77
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/retrievecloudpcremoteactionresults/RetrieveCloudPCRemoteActionResultsGetResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.retrievecloudpcremoteactionresults;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.beta.models.CloudPcRemoteActionResult;
+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 RetrieveCloudPCRemoteActionResultsGetResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link RetrieveCloudPCRemoteActionResultsGetResponse} and sets the default values.
+ */
+ public RetrieveCloudPCRemoteActionResultsGetResponse() {
+ 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 RetrieveCloudPCRemoteActionResultsGetResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static RetrieveCloudPCRemoteActionResultsGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RetrieveCloudPCRemoteActionResultsGetResponse();
+ }
+ /**
+ * 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(CloudPcRemoteActionResult::createFromDiscriminatorValue)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfObjectValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/retrievecloudpcremoteactionresults/RetrieveCloudPCRemoteActionResultsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/retrievecloudpcremoteactionresults/RetrieveCloudPCRemoteActionResultsRequestBuilder.java
new file mode 100644
index 00000000000..d7b9544f143
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/item/retrievecloudpcremoteactionresults/RetrieveCloudPCRemoteActionResultsRequestBuilder.java
@@ -0,0 +1,148 @@
+package com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.retrievecloudpcremoteactionresults;
+
+import com.microsoft.graph.beta.models.odataerrors.ODataError;
+import com.microsoft.kiota.BaseRequestBuilder;
+import com.microsoft.kiota.BaseRequestConfiguration;
+import com.microsoft.kiota.HttpMethod;
+import com.microsoft.kiota.QueryParameters;
+import com.microsoft.kiota.RequestAdapter;
+import com.microsoft.kiota.RequestInformation;
+import com.microsoft.kiota.RequestOption;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParsableFactory;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+/**
+ * Provides operations to call the retrieveCloudPCRemoteActionResults method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RetrieveCloudPCRemoteActionResultsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RetrieveCloudPCRemoteActionResultsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RetrieveCloudPCRemoteActionResultsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPCRemoteActionResults(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RetrieveCloudPCRemoteActionResultsRequestBuilder} 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 RetrieveCloudPCRemoteActionResultsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/{cloudPC%2Did}/retrieveCloudPCRemoteActionResults(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Retrieve remote action results and check the status of a specific remote action performed on the associated Cloud PC device.
+ * @return a {@link RetrieveCloudPCRemoteActionResultsGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RetrieveCloudPCRemoteActionResultsGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Retrieve remote action results and check the status of a specific remote action performed on the associated Cloud PC device.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link RetrieveCloudPCRemoteActionResultsGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public RetrieveCloudPCRemoteActionResultsGetResponse 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, RetrieveCloudPCRemoteActionResultsGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Retrieve remote action results and check the status of a specific remote action performed on the associated Cloud PC device.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Retrieve remote action results and check the status of a specific remote action performed on the associated Cloud PC device.
+ * @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 RetrieveCloudPCRemoteActionResultsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPCRemoteActionResultsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RetrieveCloudPCRemoteActionResultsRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Retrieve remote action results and check the status of a specific remote action performed on the associated Cloud PC device.
+ */
+ @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/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/SharedUseServicePlansRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/SharedUseServicePlansRequestBuilder.java
deleted file mode 100644
index 9157195f611..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/SharedUseServicePlansRequestBuilder.java
+++ /dev/null
@@ -1,278 +0,0 @@
-package com.microsoft.graph.beta.devicemanagement.virtualendpoint.shareduseserviceplans;
-
-import com.microsoft.graph.beta.devicemanagement.virtualendpoint.shareduseserviceplans.count.CountRequestBuilder;
-import com.microsoft.graph.beta.devicemanagement.virtualendpoint.shareduseserviceplans.item.CloudPcSharedUseServicePlanItemRequestBuilder;
-import com.microsoft.graph.beta.models.CloudPcSharedUseServicePlan;
-import com.microsoft.graph.beta.models.CloudPcSharedUseServicePlanCollectionResponse;
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to manage the sharedUseServicePlans property of the microsoft.graph.virtualEndpoint entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class SharedUseServicePlansRequestBuilder extends BaseRequestBuilder {
- /**
- * Provides operations to count the resources in the collection.
- * @return a {@link CountRequestBuilder}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @Deprecated
- @jakarta.annotation.Nonnull
- public CountRequestBuilder count() {
- return new CountRequestBuilder(pathParameters, requestAdapter);
- }
- /**
- * Provides operations to manage the sharedUseServicePlans property of the microsoft.graph.virtualEndpoint entity.
- * @param cloudPcSharedUseServicePlanId The unique identifier of cloudPcSharedUseServicePlan
- * @return a {@link CloudPcSharedUseServicePlanItemRequestBuilder}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public CloudPcSharedUseServicePlanItemRequestBuilder byCloudPcSharedUseServicePlanId(@jakarta.annotation.Nonnull final String cloudPcSharedUseServicePlanId) {
- Objects.requireNonNull(cloudPcSharedUseServicePlanId);
- final HashMap urlTplParams = new HashMap(this.pathParameters);
- urlTplParams.put("cloudPcSharedUseServicePlan%2Did", cloudPcSharedUseServicePlanId);
- return new CloudPcSharedUseServicePlanItemRequestBuilder(urlTplParams, requestAdapter);
- }
- /**
- * Instantiates a new {@link SharedUseServicePlansRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public SharedUseServicePlansRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
- }
- /**
- * Instantiates a new {@link SharedUseServicePlansRequestBuilder} 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 SharedUseServicePlansRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
- }
- /**
- * Get a list of the cloudPcSharedUseServicePlan objects and their properties.
- * @return a {@link CloudPcSharedUseServicePlanCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- @Deprecated
- public CloudPcSharedUseServicePlanCollectionResponse get() {
- return get(null);
- }
- /**
- * Get a list of the cloudPcSharedUseServicePlan objects and their properties.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link CloudPcSharedUseServicePlanCollectionResponse}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- * @see Find more info here
- */
- @jakarta.annotation.Nullable
- @Deprecated
- public CloudPcSharedUseServicePlanCollectionResponse 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, CloudPcSharedUseServicePlanCollectionResponse::createFromDiscriminatorValue);
- }
- /**
- * Create new navigation property to sharedUseServicePlans for deviceManagement
- * @param body The request body
- * @return a {@link CloudPcSharedUseServicePlan}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nullable
- @Deprecated
- public CloudPcSharedUseServicePlan post(@jakarta.annotation.Nonnull final CloudPcSharedUseServicePlan body) {
- return post(body, null);
- }
- /**
- * Create new navigation property to sharedUseServicePlans for deviceManagement
- * @param body The request body
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link CloudPcSharedUseServicePlan}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nullable
- @Deprecated
- public CloudPcSharedUseServicePlan post(@jakarta.annotation.Nonnull final CloudPcSharedUseServicePlan 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, CloudPcSharedUseServicePlan::createFromDiscriminatorValue);
- }
- /**
- * Get a list of the cloudPcSharedUseServicePlan objects and their properties.
- * @return a {@link RequestInformation}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toGetRequestInformation() {
- return toGetRequestInformation(null);
- }
- /**
- * Get a list of the cloudPcSharedUseServicePlan objects and their properties.
- * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
- * @return a {@link RequestInformation}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- requestInfo.headers.tryAdd("Accept", "application/json");
- return requestInfo;
- }
- /**
- * Create new navigation property to sharedUseServicePlans for deviceManagement
- * @param body The request body
- * @return a {@link RequestInformation}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcSharedUseServicePlan body) {
- return toPostRequestInformation(body, null);
- }
- /**
- * Create new navigation property to sharedUseServicePlans 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}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CloudPcSharedUseServicePlan body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- Objects.requireNonNull(body);
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, 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 SharedUseServicePlansRequestBuilder}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public SharedUseServicePlansRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new SharedUseServicePlansRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Get a list of the cloudPcSharedUseServicePlan objects and their properties.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Include count of items
- */
- @jakarta.annotation.Nullable
- public Boolean count;
- /**
- * Expand related entities
- */
- @jakarta.annotation.Nullable
- public String[] expand;
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Order items by property values
- */
- @jakarta.annotation.Nullable
- public String[] orderby;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Select properties to be returned
- */
- @jakarta.annotation.Nullable
- public String[] select;
- /**
- * Skip the first n items
- */
- @jakarta.annotation.Nullable
- public Integer skip;
- /**
- * Show only the first n items
- */
- @jakarta.annotation.Nullable
- public Integer top;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24count", count);
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- allQueryParams.put("%24skip", skip);
- allQueryParams.put("%24top", top);
- allQueryParams.put("%24expand", expand);
- allQueryParams.put("%24orderby", orderby);
- allQueryParams.put("%24select", select);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class PostRequestConfiguration extends BaseRequestConfiguration {
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/count/CountRequestBuilder.java
deleted file mode 100644
index 2a1b1a549f8..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/count/CountRequestBuilder.java
+++ /dev/null
@@ -1,143 +0,0 @@
-package com.microsoft.graph.beta.devicemanagement.virtualendpoint.shareduseserviceplans.count;
-
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to count the resources in the collection.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CountRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link CountRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans/$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/sharedUseServicePlans/$count{?%24filter,%24search}", rawUrl);
- }
- /**
- * Get the number of the resource
- * @return a {@link Integer}
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nullable
- @Deprecated
- 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
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nullable
- @Deprecated
- 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}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- 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}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
- requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
- 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}
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @jakarta.annotation.Nonnull
- @Deprecated
- public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
- Objects.requireNonNull(rawUrl);
- return new CountRequestBuilder(rawUrl, requestAdapter);
- }
- /**
- * Get the number of the resource
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetQueryParameters implements QueryParameters {
- /**
- * Filter items by property values
- */
- @jakarta.annotation.Nullable
- public String filter;
- /**
- * Search items by search phrases
- */
- @jakarta.annotation.Nullable
- public String search;
- /**
- * Extracts the query parameters into a map for the URI template parsing.
- * @return a {@link Map}
- */
- @jakarta.annotation.Nonnull
- public Map toQueryParameters() {
- final Map allQueryParams = new HashMap();
- allQueryParams.put("%24filter", filter);
- allQueryParams.put("%24search", search);
- return allQueryParams;
- }
- }
- /**
- * Configuration for the request such as headers, query parameters, and middleware options.
- */
- @jakarta.annotation.Generated("com.microsoft.kiota")
- public class GetRequestConfiguration extends BaseRequestConfiguration {
- /**
- * Request query parameters
- */
- @jakarta.annotation.Nullable
- public GetQueryParameters queryParameters = new GetQueryParameters();
- }
-}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/item/CloudPcSharedUseServicePlanItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/item/CloudPcSharedUseServicePlanItemRequestBuilder.java
deleted file mode 100644
index 0f6f3081d6f..00000000000
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/shareduseserviceplans/item/CloudPcSharedUseServicePlanItemRequestBuilder.java
+++ /dev/null
@@ -1,269 +0,0 @@
-package com.microsoft.graph.beta.devicemanagement.virtualendpoint.shareduseserviceplans.item;
-
-import com.microsoft.graph.beta.models.CloudPcSharedUseServicePlan;
-import com.microsoft.graph.beta.models.odataerrors.ODataError;
-import com.microsoft.kiota.BaseRequestBuilder;
-import com.microsoft.kiota.BaseRequestConfiguration;
-import com.microsoft.kiota.HttpMethod;
-import com.microsoft.kiota.QueryParameters;
-import com.microsoft.kiota.RequestAdapter;
-import com.microsoft.kiota.RequestInformation;
-import com.microsoft.kiota.RequestOption;
-import com.microsoft.kiota.serialization.Parsable;
-import com.microsoft.kiota.serialization.ParsableFactory;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Objects;
-/**
- * Provides operations to manage the sharedUseServicePlans property of the microsoft.graph.virtualEndpoint entity.
- */
-@jakarta.annotation.Generated("com.microsoft.kiota")
-public class CloudPcSharedUseServicePlanItemRequestBuilder extends BaseRequestBuilder {
- /**
- * Instantiates a new {@link CloudPcSharedUseServicePlanItemRequestBuilder} and sets the default values.
- * @param pathParameters Path parameters for the request
- * @param requestAdapter The request adapter to use to execute the requests.
- */
- public CloudPcSharedUseServicePlanItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans/{cloudPcSharedUseServicePlan%2Did}{?%24expand,%24select}", pathParameters);
- }
- /**
- * Instantiates a new {@link CloudPcSharedUseServicePlanItemRequestBuilder} 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 CloudPcSharedUseServicePlanItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
- super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/sharedUseServicePlans/{cloudPcSharedUseServicePlan%2Did}{?%24expand,%24select}", rawUrl);
- }
- /**
- * Delete navigation property sharedUseServicePlans for deviceManagement
- * @throws ODataError When receiving a 4XX or 5XX status code
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @Deprecated
- public void delete() {
- delete(null);
- }
- /**
- * Delete navigation property sharedUseServicePlans 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
- * @deprecated
- * The sharedUseServicePlans property is deprecated and will not be supported starting Oct 8, 2023. This property will not be included as part of the API response. as of 2023-03/sharedUseServicePlans
- */
- @Deprecated
- public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
- final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
- final HashMap