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..f5b2979ade9 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);
@@ -90,23 +90,23 @@ public ComplianceChange get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
}
/**
- * Update the properties of a complianceChange object.
+ * Update the properties of a contentApproval object.
* @param body The request body
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body) {
return patch(body, null);
}
/**
- * Update the properties of a complianceChange object.
+ * Update the properties of a contentApproval object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
- * @see Find more info here
+ * @see Find more info here
*/
@jakarta.annotation.Nullable
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer 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}
*/
@@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
- * Update the properties of a complianceChange object.
+ * Update the properties of a contentApproval object.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
- * Update the properties of a complianceChange object.
+ * Update the properties of a contentApproval object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
index 8491ca7252a..ee7fb82f1ec 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/administrativeunits/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/administrativeUnits/{administrativeUnit%2Did}/checkMemberGroups", rawUrl);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link CheckMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return post(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CheckMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return this.requestAdapter.send(requestInfo, errorMapping, CheckMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @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/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/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
index f201d8d10dc..1c27b2f6cf7 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/checkMemberGroups", rawUrl);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link CheckMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return post(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CheckMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return this.requestAdapter.send(requestInfo, errorMapping, CheckMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @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/OwnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/OwnersRequestBuilder.java
index 2df34e144ca..d43ae1ffd7e 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/OwnersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/OwnersRequestBuilder.java
@@ -1,6 +1,7 @@
package com.microsoft.graph.beta.applications.item.owners;
import com.microsoft.graph.beta.applications.item.owners.count.CountRequestBuilder;
+import com.microsoft.graph.beta.applications.item.owners.graphapproleassignment.GraphAppRoleAssignmentRequestBuilder;
import com.microsoft.graph.beta.applications.item.owners.graphendpoint.GraphEndpointRequestBuilder;
import com.microsoft.graph.beta.applications.item.owners.graphserviceprincipal.GraphServicePrincipalRequestBuilder;
import com.microsoft.graph.beta.applications.item.owners.graphuser.GraphUserRequestBuilder;
@@ -34,6 +35,14 @@ public class OwnersRequestBuilder extends BaseRequestBuilder {
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Casts the previous resource to appRoleAssignment.
+ * @return a {@link GraphAppRoleAssignmentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() {
+ return new GraphAppRoleAssignmentRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Casts the previous resource to endpoint.
* @return a {@link GraphEndpointRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java
new file mode 100644
index 00000000000..bcc93e957b5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java
@@ -0,0 +1,174 @@
+package com.microsoft.graph.beta.applications.item.owners.graphapproleassignment;
+
+import com.microsoft.graph.beta.applications.item.owners.graphapproleassignment.count.CountRequestBuilder;
+import com.microsoft.graph.beta.models.AppRoleAssignmentCollectionResponse;
+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;
+/**
+ * Casts the previous resource to appRoleAssignment.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link GraphAppRoleAssignmentRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/graph.appRoleAssignment{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GraphAppRoleAssignmentRequestBuilder} 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 GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/graph.appRoleAssignment{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
+ * @return a {@link AppRoleAssignmentCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AppRoleAssignmentCollectionResponse get() {
+ return get(null);
+ }
+ /**
+ * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link AppRoleAssignmentCollectionResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AppRoleAssignmentCollectionResponse 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, AppRoleAssignmentCollectionResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
+ * @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 GraphAppRoleAssignmentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GraphAppRoleAssignmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GraphAppRoleAssignmentRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection
+ */
+ @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/applications/item/owners/graphapproleassignment/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/graphapproleassignment/count/CountRequestBuilder.java
new file mode 100644
index 00000000000..1a0218ce7b9
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/graphapproleassignment/count/CountRequestBuilder.java
@@ -0,0 +1,128 @@
+package com.microsoft.graph.beta.applications.item.owners.graphapproleassignment.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}/applications/{application%2Did}/owners/graph.appRoleAssignment/$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}/applications/{application%2Did}/owners/graph.appRoleAssignment/$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/applications/item/owners/item/DirectoryObjectItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/item/DirectoryObjectItemRequestBuilder.java
index 2194ab83838..4590d8608a9 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/item/DirectoryObjectItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/item/DirectoryObjectItemRequestBuilder.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.beta.applications.item.owners.item;
+import com.microsoft.graph.beta.applications.item.owners.item.graphapproleassignment.GraphAppRoleAssignmentRequestBuilder;
import com.microsoft.graph.beta.applications.item.owners.item.graphendpoint.GraphEndpointRequestBuilder;
import com.microsoft.graph.beta.applications.item.owners.item.graphserviceprincipal.GraphServicePrincipalRequestBuilder;
import com.microsoft.graph.beta.applications.item.owners.item.graphuser.GraphUserRequestBuilder;
@@ -13,6 +14,14 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class DirectoryObjectItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Casts the previous resource to appRoleAssignment.
+ * @return a {@link GraphAppRoleAssignmentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() {
+ return new GraphAppRoleAssignmentRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Casts the previous resource to endpoint.
* @return a {@link GraphEndpointRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java
new file mode 100644
index 00000000000..dffabbaaf20
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/applications/item/owners/item/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java
@@ -0,0 +1,129 @@
+package com.microsoft.graph.beta.applications.item.owners.item.graphapproleassignment;
+
+import com.microsoft.graph.beta.models.AppRoleAssignment;
+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;
+/**
+ * Casts the previous resource to appRoleAssignment.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GraphAppRoleAssignmentRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/graph.appRoleAssignment{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GraphAppRoleAssignmentRequestBuilder} 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 GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/{directoryObject%2Did}/graph.appRoleAssignment{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
+ * @return a {@link AppRoleAssignment}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AppRoleAssignment get() {
+ return get(null);
+ }
+ /**
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link AppRoleAssignment}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public AppRoleAssignment 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, AppRoleAssignment::createFromDiscriminatorValue);
+ }
+ /**
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
+ * @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 GraphAppRoleAssignmentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GraphAppRoleAssignmentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GraphAppRoleAssignmentRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java
index 389483c5227..0a62f97cbc0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/AppRoleAssignmentsRequestBuilder.java
@@ -1,7 +1,11 @@
package com.microsoft.graph.beta.approleassignments;
import com.microsoft.graph.beta.approleassignments.count.CountRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.delta.DeltaRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.getbyids.GetByIdsRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.getuserownedobjects.GetUserOwnedObjectsRequestBuilder;
import com.microsoft.graph.beta.approleassignments.item.AppRoleAssignmentItemRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.validateproperties.ValidatePropertiesRequestBuilder;
import com.microsoft.graph.beta.models.AppRoleAssignment;
import com.microsoft.graph.beta.models.AppRoleAssignmentCollectionResponse;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
@@ -31,6 +35,38 @@ public class AppRoleAssignmentsRequestBuilder extends BaseRequestBuilder {
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the delta method.
+ * @return a {@link DeltaRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DeltaRequestBuilder delta() {
+ return new DeltaRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the getByIds method.
+ * @return a {@link GetByIdsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetByIdsRequestBuilder getByIds() {
+ return new GetByIdsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the getUserOwnedObjects method.
+ * @return a {@link GetUserOwnedObjectsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUserOwnedObjectsRequestBuilder getUserOwnedObjects() {
+ return new GetUserOwnedObjectsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the validateProperties method.
+ * @return a {@link ValidatePropertiesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ValidatePropertiesRequestBuilder validateProperties() {
+ return new ValidatePropertiesRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the collection of appRoleAssignment entities.
* @param appRoleAssignmentId The unique identifier of appRoleAssignment
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/delta/DeltaGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/delta/DeltaGetResponse.java
new file mode 100644
index 00000000000..a820644c710
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/delta/DeltaGetResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.beta.approleassignments.delta;
+
+import com.microsoft.graph.beta.models.BaseDeltaFunctionResponse;
+import com.microsoft.graph.beta.models.DirectoryObject;
+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 DeltaGetResponse extends BaseDeltaFunctionResponse implements Parsable {
+ /**
+ * Instantiates a new {@link DeltaGetResponse} and sets the default values.
+ */
+ public DeltaGetResponse() {
+ 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 DeltaGetResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static DeltaGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new DeltaGetResponse();
+ }
+ /**
+ * 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(DirectoryObject::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/approleassignments/delta/DeltaRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/delta/DeltaRequestBuilder.java
new file mode 100644
index 00000000000..d29ffbd4fec
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/delta/DeltaRequestBuilder.java
@@ -0,0 +1,166 @@
+package com.microsoft.graph.beta.approleassignments.delta;
+
+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 delta method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DeltaRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link DeltaRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link DeltaRequestBuilder} 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 DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
+ }
+ /**
+ * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * @return a {@link DeltaGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public DeltaGetResponse get() {
+ return get(null);
+ }
+ /**
+ * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link DeltaGetResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public DeltaGetResponse 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, DeltaGetResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ * @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 DeltaRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new DeltaRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
+ */
+ @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/approleassignments/getbyids/GetByIdsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getbyids/GetByIdsPostRequestBody.java
new file mode 100644
index 00000000000..6cbd222f991
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getbyids/GetByIdsPostRequestBody.java
@@ -0,0 +1,124 @@
+package com.microsoft.graph.beta.approleassignments.getbyids;
+
+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 GetByIdsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link GetByIdsPostRequestBody} and sets the default values.
+ */
+ public GetByIdsPostRequestBody() {
+ 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 GetByIdsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetByIdsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetByIdsPostRequestBody();
+ }
+ /**
+ * 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>(2);
+ deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("types", (n) -> { this.setTypes(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the ids property value. The ids property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getIds() {
+ return this.backingStore.get("ids");
+ }
+ /**
+ * Gets the types property value. The types property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getTypes() {
+ return this.backingStore.get("types");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeCollectionOfPrimitiveValues("ids", this.getIds());
+ writer.writeCollectionOfPrimitiveValues("types", this.getTypes());
+ 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 ids property value. The ids property
+ * @param value Value to set for the ids property.
+ */
+ public void setIds(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("ids", value);
+ }
+ /**
+ * Sets the types property value. The types property
+ * @param value Value to set for the types property.
+ */
+ public void setTypes(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("types", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getbyids/GetByIdsPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getbyids/GetByIdsPostResponse.java
new file mode 100644
index 00000000000..1a68e7c3f61
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getbyids/GetByIdsPostResponse.java
@@ -0,0 +1,63 @@
+package com.microsoft.graph.beta.approleassignments.getbyids;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.graph.beta.models.DirectoryObject;
+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 GetByIdsPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetByIdsPostResponse} and sets the default values.
+ */
+ public GetByIdsPostResponse() {
+ 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 GetByIdsPostResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetByIdsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetByIdsPostResponse();
+ }
+ /**
+ * 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(DirectoryObject::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/approleassignments/getbyids/GetByIdsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getbyids/GetByIdsRequestBuilder.java
new file mode 100644
index 00000000000..3bd2d74e001
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getbyids/GetByIdsRequestBuilder.java
@@ -0,0 +1,104 @@
+package com.microsoft.graph.beta.approleassignments.getbyids;
+
+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 getByIds method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetByIdsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetByIdsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetByIdsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/getByIds", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetByIdsRequestBuilder} 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 GetByIdsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/getByIds", rawUrl);
+ }
+ /**
+ * Return the directory objects specified in a list of IDs. Some common uses for this function are to:
+ * @param body The request body
+ * @return a {@link GetByIdsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetByIdsPostResponse post(@jakarta.annotation.Nonnull final GetByIdsPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Return the directory objects specified in a list of IDs. Some common uses for this function are to:
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetByIdsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetByIdsPostResponse post(@jakarta.annotation.Nonnull final GetByIdsPostRequestBody 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, GetByIdsPostResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Return the directory objects specified in a list of IDs. Some common uses for this function are to:
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetByIdsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Return the directory objects specified in a list of IDs. Some common uses for this function are to:
+ * @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 GetByIdsPostRequestBody 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 GetByIdsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetByIdsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetByIdsRequestBuilder(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/approleassignments/getuserownedobjects/GetUserOwnedObjectsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getuserownedobjects/GetUserOwnedObjectsPostRequestBody.java
new file mode 100644
index 00000000000..30eab54ff62
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getuserownedobjects/GetUserOwnedObjectsPostRequestBody.java
@@ -0,0 +1,124 @@
+package com.microsoft.graph.beta.approleassignments.getuserownedobjects;
+
+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 GetUserOwnedObjectsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link GetUserOwnedObjectsPostRequestBody} and sets the default values.
+ */
+ public GetUserOwnedObjectsPostRequestBody() {
+ 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 GetUserOwnedObjectsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetUserOwnedObjectsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetUserOwnedObjectsPostRequestBody();
+ }
+ /**
+ * 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>(2);
+ deserializerMap.put("type", (n) -> { this.setType(n.getStringValue()); });
+ deserializerMap.put("userId", (n) -> { this.setUserId(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the type property value. The type property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getType() {
+ return this.backingStore.get("type");
+ }
+ /**
+ * Gets the userId property value. The userId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getUserId() {
+ return this.backingStore.get("userId");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("type", this.getType());
+ writer.writeStringValue("userId", this.getUserId());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the type property value. The type property
+ * @param value Value to set for the type property.
+ */
+ public void setType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("type", value);
+ }
+ /**
+ * Sets the userId property value. The userId property
+ * @param value Value to set for the userId property.
+ */
+ public void setUserId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("userId", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getuserownedobjects/GetUserOwnedObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getuserownedobjects/GetUserOwnedObjectsRequestBuilder.java
new file mode 100644
index 00000000000..5728c842231
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/getuserownedobjects/GetUserOwnedObjectsRequestBuilder.java
@@ -0,0 +1,105 @@
+package com.microsoft.graph.beta.approleassignments.getuserownedobjects;
+
+import com.microsoft.graph.beta.models.DirectoryObject;
+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 getUserOwnedObjects method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetUserOwnedObjectsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetUserOwnedObjectsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetUserOwnedObjectsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/getUserOwnedObjects", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetUserOwnedObjectsRequestBuilder} 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 GetUserOwnedObjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/getUserOwnedObjects", rawUrl);
+ }
+ /**
+ * Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination.
+ * @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(@jakarta.annotation.Nonnull final GetUserOwnedObjectsPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination.
+ * @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.Nonnull final GetUserOwnedObjectsPostRequestBody 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);
+ }
+ /**
+ * Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetUserOwnedObjectsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination.
+ * @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 GetUserOwnedObjectsPostRequestBody 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 GetUserOwnedObjectsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetUserOwnedObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetUserOwnedObjectsRequestBuilder(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/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java
index 391f943b595..964dfdc063b 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/AppRoleAssignmentItemRequestBuilder.java
@@ -1,5 +1,10 @@
package com.microsoft.graph.beta.approleassignments.item;
+import com.microsoft.graph.beta.approleassignments.item.checkmembergroups.CheckMemberGroupsRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.item.checkmemberobjects.CheckMemberObjectsRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.item.getmembergroups.GetMemberGroupsRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.item.getmemberobjects.GetMemberObjectsRequestBuilder;
+import com.microsoft.graph.beta.approleassignments.item.restore.RestoreRequestBuilder;
import com.microsoft.graph.beta.models.AppRoleAssignment;
import com.microsoft.graph.beta.models.odataerrors.ODataError;
import com.microsoft.kiota.BaseRequestBuilder;
@@ -20,6 +25,46 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class AppRoleAssignmentItemRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to call the checkMemberGroups method.
+ * @return a {@link CheckMemberGroupsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CheckMemberGroupsRequestBuilder checkMemberGroups() {
+ return new CheckMemberGroupsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the checkMemberObjects method.
+ * @return a {@link CheckMemberObjectsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CheckMemberObjectsRequestBuilder checkMemberObjects() {
+ return new CheckMemberObjectsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the getMemberGroups method.
+ * @return a {@link GetMemberGroupsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetMemberGroupsRequestBuilder getMemberGroups() {
+ return new GetMemberGroupsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the getMemberObjects method.
+ * @return a {@link GetMemberObjectsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetMemberObjectsRequestBuilder getMemberObjects() {
+ return new GetMemberObjectsRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the restore method.
+ * @return a {@link RestoreRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RestoreRequestBuilder restore() {
+ return new RestoreRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Instantiates a new {@link AppRoleAssignmentItemRequestBuilder} and sets the default values.
* @param pathParameters Path parameters for the request
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsPostRequestBody.java
new file mode 100644
index 00000000000..85f7f6511dd
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.approleassignments.item.checkmembergroups;
+
+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 CheckMemberGroupsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link CheckMemberGroupsPostRequestBody} and sets the default values.
+ */
+ public CheckMemberGroupsPostRequestBody() {
+ 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 CheckMemberGroupsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static CheckMemberGroupsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new CheckMemberGroupsPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("groupIds", (n) -> { this.setGroupIds(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the groupIds property value. The groupIds property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getGroupIds() {
+ return this.backingStore.get("groupIds");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeCollectionOfPrimitiveValues("groupIds", this.getGroupIds());
+ 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 groupIds property value. The groupIds property
+ * @param value Value to set for the groupIds property.
+ */
+ public void setGroupIds(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("groupIds", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsPostResponse.java
new file mode 100644
index 00000000000..9d8ad5f382a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsPostResponse.java
@@ -0,0 +1,62 @@
+package com.microsoft.graph.beta.approleassignments.item.checkmembergroups;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CheckMemberGroupsPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link CheckMemberGroupsPostResponse} and sets the default values.
+ */
+ public CheckMemberGroupsPostResponse() {
+ 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 CheckMemberGroupsPostResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static CheckMemberGroupsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new CheckMemberGroupsPostResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfPrimitiveValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
new file mode 100644
index 00000000000..c5f582716d8
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
@@ -0,0 +1,104 @@
+package com.microsoft.graph.beta.approleassignments.item.checkmembergroups;
+
+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 checkMemberGroups method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CheckMemberGroupsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CheckMemberGroupsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberGroups", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CheckMemberGroupsRequestBuilder} 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 CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberGroups", rawUrl);
+ }
+ /**
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * @param body The request body
+ * @return a {@link CheckMemberGroupsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CheckMemberGroupsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody 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, CheckMemberGroupsPostResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckMemberGroupsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * @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 CheckMemberGroupsPostRequestBody 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 CheckMemberGroupsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CheckMemberGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CheckMemberGroupsRequestBuilder(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/approleassignments/item/checkmemberobjects/CheckMemberObjectsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsPostRequestBody.java
new file mode 100644
index 00000000000..280f13a5ec5
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.approleassignments.item.checkmemberobjects;
+
+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 CheckMemberObjectsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link CheckMemberObjectsPostRequestBody} and sets the default values.
+ */
+ public CheckMemberObjectsPostRequestBody() {
+ 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 CheckMemberObjectsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static CheckMemberObjectsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new CheckMemberObjectsPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("ids", (n) -> { this.setIds(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the ids property value. The ids property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getIds() {
+ return this.backingStore.get("ids");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeCollectionOfPrimitiveValues("ids", this.getIds());
+ 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 ids property value. The ids property
+ * @param value Value to set for the ids property.
+ */
+ public void setIds(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("ids", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsPostResponse.java
new file mode 100644
index 00000000000..37ce3d8f20c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsPostResponse.java
@@ -0,0 +1,62 @@
+package com.microsoft.graph.beta.approleassignments.item.checkmemberobjects;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CheckMemberObjectsPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link CheckMemberObjectsPostResponse} and sets the default values.
+ */
+ public CheckMemberObjectsPostResponse() {
+ 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 CheckMemberObjectsPostResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static CheckMemberObjectsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new CheckMemberObjectsPostResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfPrimitiveValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsRequestBuilder.java
new file mode 100644
index 00000000000..744d1874e5b
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/checkmemberobjects/CheckMemberObjectsRequestBuilder.java
@@ -0,0 +1,102 @@
+package com.microsoft.graph.beta.approleassignments.item.checkmemberobjects;
+
+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 checkMemberObjects method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class CheckMemberObjectsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link CheckMemberObjectsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public CheckMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberObjects", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link CheckMemberObjectsRequestBuilder} 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 CheckMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/checkMemberObjects", rawUrl);
+ }
+ /**
+ * Invoke action checkMemberObjects
+ * @param body The request body
+ * @return a {@link CheckMemberObjectsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CheckMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberObjectsPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action checkMemberObjects
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link CheckMemberObjectsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public CheckMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final CheckMemberObjectsPostRequestBody 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, CheckMemberObjectsPostResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke action checkMemberObjects
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final CheckMemberObjectsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action checkMemberObjects
+ * @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 CheckMemberObjectsPostRequestBody 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 CheckMemberObjectsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CheckMemberObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new CheckMemberObjectsRequestBuilder(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/approleassignments/item/getmembergroups/GetMemberGroupsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostRequestBody.java
new file mode 100644
index 00000000000..0298dafd1c4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.approleassignments.item.getmembergroups;
+
+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 GetMemberGroupsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link GetMemberGroupsPostRequestBody} and sets the default values.
+ */
+ public GetMemberGroupsPostRequestBody() {
+ 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 GetMemberGroupsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetMemberGroupsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetMemberGroupsPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("securityEnabledOnly", (n) -> { this.setSecurityEnabledOnly(n.getBooleanValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the securityEnabledOnly property value. The securityEnabledOnly property
+ * @return a {@link Boolean}
+ */
+ @jakarta.annotation.Nullable
+ public Boolean getSecurityEnabledOnly() {
+ return this.backingStore.get("securityEnabledOnly");
+ }
+ /**
+ * 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("securityEnabledOnly", this.getSecurityEnabledOnly());
+ 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 securityEnabledOnly property value. The securityEnabledOnly property
+ * @param value Value to set for the securityEnabledOnly property.
+ */
+ public void setSecurityEnabledOnly(@jakarta.annotation.Nullable final Boolean value) {
+ this.backingStore.set("securityEnabledOnly", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostResponse.java
new file mode 100644
index 00000000000..66dd28ce684
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsPostResponse.java
@@ -0,0 +1,62 @@
+package com.microsoft.graph.beta.approleassignments.item.getmembergroups;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetMemberGroupsPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetMemberGroupsPostResponse} and sets the default values.
+ */
+ public GetMemberGroupsPostResponse() {
+ 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 GetMemberGroupsPostResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetMemberGroupsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetMemberGroupsPostResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfPrimitiveValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsRequestBuilder.java
new file mode 100644
index 00000000000..055e72ff913
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmembergroups/GetMemberGroupsRequestBuilder.java
@@ -0,0 +1,104 @@
+package com.microsoft.graph.beta.approleassignments.item.getmembergroups;
+
+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 getMemberGroups method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetMemberGroupsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetMemberGroupsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberGroups", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetMemberGroupsRequestBuilder} 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 GetMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%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 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
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body) {
+ 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 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}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ @jakarta.annotation.Nullable
+ public GetMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody 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, 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 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}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody body) {
+ 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 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}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberGroupsPostRequestBody 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 GetMemberGroupsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetMemberGroupsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetMemberGroupsRequestBuilder(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/approleassignments/item/getmemberobjects/GetMemberObjectsPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
new file mode 100644
index 00000000000..129dd8295e3
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.approleassignments.item.getmemberobjects;
+
+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 GetMemberObjectsPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link GetMemberObjectsPostRequestBody} and sets the default values.
+ */
+ public GetMemberObjectsPostRequestBody() {
+ 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 GetMemberObjectsPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetMemberObjectsPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetMemberObjectsPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(1);
+ deserializerMap.put("securityEnabledOnly", (n) -> { this.setSecurityEnabledOnly(n.getBooleanValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the securityEnabledOnly property value. The securityEnabledOnly property
+ * @return a {@link Boolean}
+ */
+ @jakarta.annotation.Nullable
+ public Boolean getSecurityEnabledOnly() {
+ return this.backingStore.get("securityEnabledOnly");
+ }
+ /**
+ * 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("securityEnabledOnly", this.getSecurityEnabledOnly());
+ 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 securityEnabledOnly property value. The securityEnabledOnly property
+ * @param value Value to set for the securityEnabledOnly property.
+ */
+ public void setSecurityEnabledOnly(@jakarta.annotation.Nullable final Boolean value) {
+ this.backingStore.set("securityEnabledOnly", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostResponse.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostResponse.java
new file mode 100644
index 00000000000..5458330ec09
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsPostResponse.java
@@ -0,0 +1,62 @@
+package com.microsoft.graph.beta.approleassignments.item.getmemberobjects;
+
+import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetMemberObjectsPostResponse extends BaseCollectionPaginationCountResponse implements Parsable {
+ /**
+ * Instantiates a new {@link GetMemberObjectsPostResponse} and sets the default values.
+ */
+ public GetMemberObjectsPostResponse() {
+ 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 GetMemberObjectsPostResponse}
+ */
+ @jakarta.annotation.Nonnull
+ public static GetMemberObjectsPostResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new GetMemberObjectsPostResponse();
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers());
+ deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the value property value. The value property
+ * @return a {@link java.util.List}
+ */
+ @jakarta.annotation.Nullable
+ public java.util.List getValue() {
+ return this.backingStore.get("value");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ super.serialize(writer);
+ writer.writeCollectionOfPrimitiveValues("value", this.getValue());
+ }
+ /**
+ * Sets the value property value. The value property
+ * @param value Value to set for the value property.
+ */
+ public void setValue(@jakarta.annotation.Nullable final java.util.List value) {
+ this.backingStore.set("value", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsRequestBuilder.java
new file mode 100644
index 00000000000..b7208cb2591
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/getmemberobjects/GetMemberObjectsRequestBuilder.java
@@ -0,0 +1,102 @@
+package com.microsoft.graph.beta.approleassignments.item.getmemberobjects;
+
+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 getMemberObjects method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GetMemberObjectsRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link GetMemberObjectsRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GetMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberObjects", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link GetMemberObjectsRequestBuilder} 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 GetMemberObjectsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/getMemberObjects", rawUrl);
+ }
+ /**
+ * Invoke action getMemberObjects
+ * @param body The request body
+ * @return a {@link GetMemberObjectsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action getMemberObjects
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link GetMemberObjectsPostResponse}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public GetMemberObjectsPostResponse post(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody 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, GetMemberObjectsPostResponse::createFromDiscriminatorValue);
+ }
+ /**
+ * Invoke action getMemberObjects
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final GetMemberObjectsPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action getMemberObjects
+ * @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 GetMemberObjectsPostRequestBody 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 GetMemberObjectsRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GetMemberObjectsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new GetMemberObjectsRequestBuilder(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/approleassignments/item/restore/RestorePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/restore/RestorePostRequestBody.java
new file mode 100644
index 00000000000..08a7dba1e84
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/restore/RestorePostRequestBody.java
@@ -0,0 +1,107 @@
+package com.microsoft.graph.beta.approleassignments.item.restore;
+
+import com.microsoft.kiota.serialization.AdditionalDataHolder;
+import com.microsoft.kiota.serialization.Parsable;
+import com.microsoft.kiota.serialization.ParseNode;
+import com.microsoft.kiota.serialization.SerializationWriter;
+import com.microsoft.kiota.store.BackedModel;
+import com.microsoft.kiota.store.BackingStore;
+import com.microsoft.kiota.store.BackingStoreFactorySingleton;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Objects;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RestorePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RestorePostRequestBody} and sets the default values.
+ */
+ public RestorePostRequestBody() {
+ this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore();
+ this.setAdditionalData(new HashMap<>());
+ }
+ /**
+ * Creates a new instance of the appropriate class based on discriminator value
+ * @param parseNode The parse node to use to read the discriminator value and create the object
+ * @return a {@link RestorePostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RestorePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RestorePostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * 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("newUserPrincipalName", (n) -> { this.setNewUserPrincipalName(n.getStringValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the newUserPrincipalName property value. The newUserPrincipalName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getNewUserPrincipalName() {
+ return this.backingStore.get("newUserPrincipalName");
+ }
+ /**
+ * 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("newUserPrincipalName", this.getNewUserPrincipalName());
+ 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 newUserPrincipalName property value. The newUserPrincipalName property
+ * @param value Value to set for the newUserPrincipalName property.
+ */
+ public void setNewUserPrincipalName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("newUserPrincipalName", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/restore/RestoreRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/restore/RestoreRequestBuilder.java
new file mode 100644
index 00000000000..dcded13090a
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/item/restore/RestoreRequestBuilder.java
@@ -0,0 +1,105 @@
+package com.microsoft.graph.beta.approleassignments.item.restore;
+
+import com.microsoft.graph.beta.models.DirectoryObject;
+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 restore method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RestoreRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RestoreRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/restore", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RestoreRequestBuilder} and sets the default values.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RestoreRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/{appRoleAssignment%2Did}/restore", rawUrl);
+ }
+ /**
+ * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user 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(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user 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.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 directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user 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(@jakarta.annotation.Nonnull final RestorePostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Restore a recently deleted directory object from deleted items. The following types are supported:- administrativeUnit- application- certificateBasedAuthPki- [certificateAuthorityDetail](../resources/certificateauthoritydetail.md- externalUserProfile- group- pendingExternalUserProfile- servicePrincipal- user 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.Nonnull final RestorePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) {
+ Objects.requireNonNull(body);
+ final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
+ requestInfo.configure(requestConfiguration, PostRequestConfiguration::new);
+ requestInfo.headers.tryAdd("Accept", "application/json");
+ requestInfo.setContentFromParsable(requestAdapter, "application/json", body);
+ return requestInfo;
+ }
+ /**
+ * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ * @param rawUrl The raw URL to use for the request builder.
+ * @return a {@link RestoreRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RestoreRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RestoreRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class PostRequestConfiguration extends BaseRequestConfiguration {
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/validateproperties/ValidatePropertiesPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/validateproperties/ValidatePropertiesPostRequestBody.java
new file mode 100644
index 00000000000..ab0a1768d13
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/validateproperties/ValidatePropertiesPostRequestBody.java
@@ -0,0 +1,159 @@
+package com.microsoft.graph.beta.approleassignments.validateproperties;
+
+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;
+import java.util.UUID;
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ValidatePropertiesPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link ValidatePropertiesPostRequestBody} and sets the default values.
+ */
+ public ValidatePropertiesPostRequestBody() {
+ 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 ValidatePropertiesPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static ValidatePropertiesPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new ValidatePropertiesPostRequestBody();
+ }
+ /**
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map getAdditionalData() {
+ Map value = this.backingStore.get("additionalData");
+ if(value == null) {
+ value = new HashMap<>();
+ this.setAdditionalData(value);
+ }
+ return value;
+ }
+ /**
+ * Gets the backingStore property value. Stores model information.
+ * @return a {@link BackingStore}
+ */
+ @jakarta.annotation.Nonnull
+ public BackingStore getBackingStore() {
+ return this.backingStore;
+ }
+ /**
+ * Gets the displayName property value. The displayName property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getDisplayName() {
+ return this.backingStore.get("displayName");
+ }
+ /**
+ * Gets the entityType property value. The entityType property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getEntityType() {
+ return this.backingStore.get("entityType");
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(4);
+ deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
+ deserializerMap.put("entityType", (n) -> { this.setEntityType(n.getStringValue()); });
+ deserializerMap.put("mailNickname", (n) -> { this.setMailNickname(n.getStringValue()); });
+ deserializerMap.put("onBehalfOfUserId", (n) -> { this.setOnBehalfOfUserId(n.getUUIDValue()); });
+ return deserializerMap;
+ }
+ /**
+ * Gets the mailNickname property value. The mailNickname property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getMailNickname() {
+ return this.backingStore.get("mailNickname");
+ }
+ /**
+ * Gets the onBehalfOfUserId property value. The onBehalfOfUserId property
+ * @return a {@link UUID}
+ */
+ @jakarta.annotation.Nullable
+ public UUID getOnBehalfOfUserId() {
+ return this.backingStore.get("onBehalfOfUserId");
+ }
+ /**
+ * Serializes information the current object
+ * @param writer Serialization writer to use to serialize this model
+ */
+ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
+ Objects.requireNonNull(writer);
+ writer.writeStringValue("displayName", this.getDisplayName());
+ writer.writeStringValue("entityType", this.getEntityType());
+ writer.writeStringValue("mailNickname", this.getMailNickname());
+ writer.writeUUIDValue("onBehalfOfUserId", this.getOnBehalfOfUserId());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ */
+ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) {
+ this.backingStore.set("additionalData", value);
+ }
+ /**
+ * Sets the backingStore property value. Stores model information.
+ * @param value Value to set for the backingStore property.
+ */
+ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) {
+ Objects.requireNonNull(value);
+ this.backingStore = value;
+ }
+ /**
+ * Sets the displayName property value. The displayName property
+ * @param value Value to set for the displayName property.
+ */
+ public void setDisplayName(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("displayName", value);
+ }
+ /**
+ * Sets the entityType property value. The entityType property
+ * @param value Value to set for the entityType property.
+ */
+ public void setEntityType(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("entityType", value);
+ }
+ /**
+ * Sets the mailNickname property value. The mailNickname property
+ * @param value Value to set for the mailNickname property.
+ */
+ public void setMailNickname(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("mailNickname", value);
+ }
+ /**
+ * Sets the onBehalfOfUserId property value. The onBehalfOfUserId property
+ * @param value Value to set for the onBehalfOfUserId property.
+ */
+ public void setOnBehalfOfUserId(@jakarta.annotation.Nullable final UUID value) {
+ this.backingStore.set("onBehalfOfUserId", value);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/approleassignments/validateproperties/ValidatePropertiesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/validateproperties/ValidatePropertiesRequestBuilder.java
new file mode 100644
index 00000000000..1d86282265f
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/approleassignments/validateproperties/ValidatePropertiesRequestBuilder.java
@@ -0,0 +1,100 @@
+package com.microsoft.graph.beta.approleassignments.validateproperties;
+
+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 validateProperties method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class ValidatePropertiesRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link ValidatePropertiesRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public ValidatePropertiesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/validateProperties", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link ValidatePropertiesRequestBuilder} 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 ValidatePropertiesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/appRoleAssignments/validateProperties", rawUrl);
+ }
+ /**
+ * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy.
+ * @param body The request body
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body) {
+ post(body, null);
+ }
+ /**
+ * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy.
+ * @param body The request body
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ * @see Find more info here
+ */
+ public void post(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody 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);
+ }
+ /**
+ * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy.
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ValidatePropertiesPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. The following validations are performed for the display name and mail nickname properties: 1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy.
+ * @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 ValidatePropertiesPostRequestBody 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 ValidatePropertiesRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public ValidatePropertiesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new ValidatePropertiesRequestBuilder(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/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/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
index a73e0b5f290..9bbc7e17679 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contacts/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contacts/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/contacts/{orgContact%2Did}/checkMemberGroups", rawUrl);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link CheckMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return post(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CheckMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return this.requestAdapter.send(requestInfo, errorMapping, CheckMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @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/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
index 67b3a3f2854..631b4e48d51 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/contracts/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/contracts/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/contracts/{contract%2Did}/checkMemberGroups", rawUrl);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link CheckMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return post(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CheckMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return this.requestAdapter.send(requestInfo, errorMapping, CheckMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java
index 2301c7741f1..77ad9ea9574 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/DepOnboardingSettingItemRequestBuilder.java
@@ -2,6 +2,8 @@
import com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.defaultiosenrollmentprofile.DefaultIosEnrollmentProfileRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.defaultmacosenrollmentprofile.DefaultMacOsEnrollmentProfileRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.defaulttvosenrollmentprofile.DefaultTvOSEnrollmentProfileRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.defaultvisionosenrollmentprofile.DefaultVisionOSEnrollmentProfileRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.enrollmentprofiles.EnrollmentProfilesRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.generateencryptionpublickey.GenerateEncryptionPublicKeyRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.getencryptionpublickey.GetEncryptionPublicKeyRequestBuilder;
@@ -46,6 +48,22 @@ public DefaultIosEnrollmentProfileRequestBuilder defaultIosEnrollmentProfile() {
public DefaultMacOsEnrollmentProfileRequestBuilder defaultMacOsEnrollmentProfile() {
return new DefaultMacOsEnrollmentProfileRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to manage the defaultTvOSEnrollmentProfile property of the microsoft.graph.depOnboardingSetting entity.
+ * @return a {@link DefaultTvOSEnrollmentProfileRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DefaultTvOSEnrollmentProfileRequestBuilder defaultTvOSEnrollmentProfile() {
+ return new DefaultTvOSEnrollmentProfileRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to manage the defaultVisionOSEnrollmentProfile property of the microsoft.graph.depOnboardingSetting entity.
+ * @return a {@link DefaultVisionOSEnrollmentProfileRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DefaultVisionOSEnrollmentProfileRequestBuilder defaultVisionOSEnrollmentProfile() {
+ return new DefaultVisionOSEnrollmentProfileRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to manage the enrollmentProfiles property of the microsoft.graph.depOnboardingSetting entity.
* @return a {@link EnrollmentProfilesRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/defaulttvosenrollmentprofile/DefaultTvOSEnrollmentProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/defaulttvosenrollmentprofile/DefaultTvOSEnrollmentProfileRequestBuilder.java
new file mode 100644
index 00000000000..598641e4117
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/defaulttvosenrollmentprofile/DefaultTvOSEnrollmentProfileRequestBuilder.java
@@ -0,0 +1,129 @@
+package com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.defaulttvosenrollmentprofile;
+
+import com.microsoft.graph.beta.models.DepTvOSEnrollmentProfile;
+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 defaultTvOSEnrollmentProfile property of the microsoft.graph.depOnboardingSetting entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DefaultTvOSEnrollmentProfileRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link DefaultTvOSEnrollmentProfileRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DefaultTvOSEnrollmentProfileRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/defaultTvOSEnrollmentProfile{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link DefaultTvOSEnrollmentProfileRequestBuilder} 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 DefaultTvOSEnrollmentProfileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/defaultTvOSEnrollmentProfile{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Default TvOS Enrollment Profile
+ * @return a {@link DepTvOSEnrollmentProfile}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DepTvOSEnrollmentProfile get() {
+ return get(null);
+ }
+ /**
+ * Default TvOS Enrollment Profile
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link DepTvOSEnrollmentProfile}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DepTvOSEnrollmentProfile 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, DepTvOSEnrollmentProfile::createFromDiscriminatorValue);
+ }
+ /**
+ * Default TvOS Enrollment Profile
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Default TvOS Enrollment Profile
+ * @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 DefaultTvOSEnrollmentProfileRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DefaultTvOSEnrollmentProfileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new DefaultTvOSEnrollmentProfileRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Default TvOS Enrollment Profile
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/defaultvisionosenrollmentprofile/DefaultVisionOSEnrollmentProfileRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/defaultvisionosenrollmentprofile/DefaultVisionOSEnrollmentProfileRequestBuilder.java
new file mode 100644
index 00000000000..9334276cd12
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/deponboardingsettings/item/defaultvisionosenrollmentprofile/DefaultVisionOSEnrollmentProfileRequestBuilder.java
@@ -0,0 +1,129 @@
+package com.microsoft.graph.beta.devicemanagement.deponboardingsettings.item.defaultvisionosenrollmentprofile;
+
+import com.microsoft.graph.beta.models.DepVisionOSEnrollmentProfile;
+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 defaultVisionOSEnrollmentProfile property of the microsoft.graph.depOnboardingSetting entity.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class DefaultVisionOSEnrollmentProfileRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link DefaultVisionOSEnrollmentProfileRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public DefaultVisionOSEnrollmentProfileRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/defaultVisionOSEnrollmentProfile{?%24expand,%24select}", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link DefaultVisionOSEnrollmentProfileRequestBuilder} 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 DefaultVisionOSEnrollmentProfileRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/depOnboardingSettings/{depOnboardingSetting%2Did}/defaultVisionOSEnrollmentProfile{?%24expand,%24select}", rawUrl);
+ }
+ /**
+ * Default VisionOS Enrollment Profile
+ * @return a {@link DepVisionOSEnrollmentProfile}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DepVisionOSEnrollmentProfile get() {
+ return get(null);
+ }
+ /**
+ * Default VisionOS Enrollment Profile
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
+ * @return a {@link DepVisionOSEnrollmentProfile}
+ * @throws ODataError When receiving a 4XX or 5XX status code
+ */
+ @jakarta.annotation.Nullable
+ public DepVisionOSEnrollmentProfile 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, DepVisionOSEnrollmentProfile::createFromDiscriminatorValue);
+ }
+ /**
+ * Default VisionOS Enrollment Profile
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toGetRequestInformation() {
+ return toGetRequestInformation(null);
+ }
+ /**
+ * Default VisionOS Enrollment Profile
+ * @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 DefaultVisionOSEnrollmentProfileRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public DefaultVisionOSEnrollmentProfileRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new DefaultVisionOSEnrollmentProfileRequestBuilder(rawUrl, requestAdapter);
+ }
+ /**
+ * Default VisionOS Enrollment Profile
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetQueryParameters implements QueryParameters {
+ /**
+ * Expand related entities
+ */
+ @jakarta.annotation.Nullable
+ public String[] expand;
+ /**
+ * Select properties to be returned
+ */
+ @jakarta.annotation.Nullable
+ public String[] select;
+ /**
+ * Extracts the query parameters into a map for the URI template parsing.
+ * @return a {@link Map}
+ */
+ @jakarta.annotation.Nonnull
+ public Map toQueryParameters() {
+ final Map allQueryParams = new HashMap();
+ allQueryParams.put("%24expand", expand);
+ allQueryParams.put("%24select", select);
+ return allQueryParams;
+ }
+ }
+ /**
+ * Configuration for the request such as headers, query parameters, and middleware options.
+ */
+ @jakarta.annotation.Generated("com.microsoft.kiota")
+ public class GetRequestConfiguration extends BaseRequestConfiguration {
+ /**
+ * Request query parameters
+ */
+ @jakarta.annotation.Nullable
+ public GetQueryParameters queryParameters = new GetQueryParameters();
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/ReportsRequestBuilder.java
index 09dcab17d5c..1c7d1808221 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
@@ -72,6 +72,8 @@
import com.microsoft.graph.beta.devicemanagement.reports.getwindowsupdatealertsperpolicyperdevicereport.GetWindowsUpdateAlertsPerPolicyPerDeviceReportRequestBuilder;
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.retrievecloudpkileafcertificatereport.RetrieveCloudPkiLeafCertificateReportRequestBuilder;
+import com.microsoft.graph.beta.devicemanagement.reports.retrievecloudpkileafcertificatesummaryreport.RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reports.retrievedeviceappinstallationstatusreport.RetrieveDeviceAppInstallationStatusReportRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reports.retrievesecuritytaskappsreport.RetrieveSecurityTaskAppsReportRequestBuilder;
import com.microsoft.graph.beta.devicemanagement.reports.retrievewin32catalogappsupdatereport.RetrieveWin32CatalogAppsUpdateReportRequestBuilder;
@@ -671,6 +673,22 @@ public GetWindowsUpdateAlertSummaryReportRequestBuilder getWindowsUpdateAlertSum
public GetZebraFotaDeploymentReportRequestBuilder getZebraFotaDeploymentReport() {
return new GetZebraFotaDeploymentReportRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Provides operations to call the retrieveCloudPkiLeafCertificateReport method.
+ * @return a {@link RetrieveCloudPkiLeafCertificateReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPkiLeafCertificateReportRequestBuilder retrieveCloudPkiLeafCertificateReport() {
+ return new RetrieveCloudPkiLeafCertificateReportRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Provides operations to call the retrieveCloudPkiLeafCertificateSummaryReport method.
+ * @return a {@link RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder retrieveCloudPkiLeafCertificateSummaryReport() {
+ return new RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Provides operations to call the retrieveDeviceAppInstallationStatusReport method.
* @return a {@link RetrieveDeviceAppInstallationStatusReportRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatereport/RetrieveCloudPkiLeafCertificateReportPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatereport/RetrieveCloudPkiLeafCertificateReportPostRequestBody.java
new file mode 100644
index 00000000000..040988691e0
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatereport/RetrieveCloudPkiLeafCertificateReportPostRequestBody.java
@@ -0,0 +1,209 @@
+package com.microsoft.graph.beta.devicemanagement.reports.retrievecloudpkileafcertificatereport;
+
+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 RetrieveCloudPkiLeafCertificateReportPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RetrieveCloudPkiLeafCertificateReportPostRequestBody} and sets the default values.
+ */
+ public RetrieveCloudPkiLeafCertificateReportPostRequestBody() {
+ 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 RetrieveCloudPkiLeafCertificateReportPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RetrieveCloudPkiLeafCertificateReportPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RetrieveCloudPkiLeafCertificateReportPostRequestBody();
+ }
+ /**
+ * 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 certificationAuthorityId property value. The certificationAuthorityId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getCertificationAuthorityId() {
+ return this.backingStore.get("certificationAuthorityId");
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(7);
+ deserializerMap.put("certificationAuthorityId", (n) -> { this.setCertificationAuthorityId(n.getStringValue()); });
+ deserializerMap.put("filter", (n) -> { this.setFilter(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("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 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 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("certificationAuthorityId", this.getCertificationAuthorityId());
+ writer.writeStringValue("filter", this.getFilter());
+ writer.writeCollectionOfPrimitiveValues("orderBy", this.getOrderBy());
+ writer.writeStringValue("search", this.getSearch());
+ writer.writeCollectionOfPrimitiveValues("select", this.getSelect());
+ 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 certificationAuthorityId property value. The certificationAuthorityId property
+ * @param value Value to set for the certificationAuthorityId property.
+ */
+ public void setCertificationAuthorityId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("certificationAuthorityId", 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 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 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/retrievecloudpkileafcertificatereport/RetrieveCloudPkiLeafCertificateReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatereport/RetrieveCloudPkiLeafCertificateReportRequestBuilder.java
new file mode 100644
index 00000000000..781b22d221c
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatereport/RetrieveCloudPkiLeafCertificateReportRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.devicemanagement.reports.retrievecloudpkileafcertificatereport;
+
+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 retrieveCloudPkiLeafCertificateReport method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RetrieveCloudPkiLeafCertificateReportRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RetrieveCloudPkiLeafCertificateReportRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RetrieveCloudPkiLeafCertificateReportRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveCloudPkiLeafCertificateReport", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RetrieveCloudPkiLeafCertificateReportRequestBuilder} 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 RetrieveCloudPkiLeafCertificateReportRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveCloudPkiLeafCertificateReport", rawUrl);
+ }
+ /**
+ * Invoke action retrieveCloudPkiLeafCertificateReport
+ * @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 RetrieveCloudPkiLeafCertificateReportPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action retrieveCloudPkiLeafCertificateReport
+ * @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 RetrieveCloudPkiLeafCertificateReportPostRequestBody 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 retrieveCloudPkiLeafCertificateReport
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPkiLeafCertificateReportPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action retrieveCloudPkiLeafCertificateReport
+ * @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 RetrieveCloudPkiLeafCertificateReportPostRequestBody 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 RetrieveCloudPkiLeafCertificateReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPkiLeafCertificateReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RetrieveCloudPkiLeafCertificateReportRequestBuilder(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/reports/retrievecloudpkileafcertificatesummaryreport/RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatesummaryreport/RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody.java
new file mode 100644
index 00000000000..3b29451b7e4
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatesummaryreport/RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody.java
@@ -0,0 +1,124 @@
+package com.microsoft.graph.beta.devicemanagement.reports.retrievecloudpkileafcertificatesummaryreport;
+
+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 RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
+ /**
+ * Stores model information.
+ */
+ @jakarta.annotation.Nonnull
+ protected BackingStore backingStore;
+ /**
+ * Instantiates a new {@link RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody} and sets the default values.
+ */
+ public RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody() {
+ 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 RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody}
+ */
+ @jakarta.annotation.Nonnull
+ public static RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
+ Objects.requireNonNull(parseNode);
+ return new RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody();
+ }
+ /**
+ * 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 certificationAuthorityId property value. The certificationAuthorityId property
+ * @return a {@link String}
+ */
+ @jakarta.annotation.Nullable
+ public String getCertificationAuthorityId() {
+ return this.backingStore.get("certificationAuthorityId");
+ }
+ /**
+ * The deserialization information for the current model
+ * @return a {@link Map>}
+ */
+ @jakarta.annotation.Nonnull
+ public Map> getFieldDeserializers() {
+ final HashMap> deserializerMap = new HashMap>(2);
+ deserializerMap.put("certificationAuthorityId", (n) -> { this.setCertificationAuthorityId(n.getStringValue()); });
+ deserializerMap.put("select", (n) -> { this.setSelect(n.getCollectionOfPrimitiveValues(String.class)); });
+ return deserializerMap;
+ }
+ /**
+ * 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");
+ }
+ /**
+ * 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("certificationAuthorityId", this.getCertificationAuthorityId());
+ writer.writeCollectionOfPrimitiveValues("select", this.getSelect());
+ 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 certificationAuthorityId property value. The certificationAuthorityId property
+ * @param value Value to set for the certificationAuthorityId property.
+ */
+ public void setCertificationAuthorityId(@jakarta.annotation.Nullable final String value) {
+ this.backingStore.set("certificationAuthorityId", 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);
+ }
+}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatesummaryreport/RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatesummaryreport/RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder.java
new file mode 100644
index 00000000000..b3c54914073
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/reports/retrievecloudpkileafcertificatesummaryreport/RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder.java
@@ -0,0 +1,103 @@
+package com.microsoft.graph.beta.devicemanagement.reports.retrievecloudpkileafcertificatesummaryreport;
+
+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 retrieveCloudPkiLeafCertificateSummaryReport method.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Instantiates a new {@link RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveCloudPkiLeafCertificateSummaryReport", pathParameters);
+ }
+ /**
+ * Instantiates a new {@link RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder} 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 RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
+ super(requestAdapter, "{+baseurl}/deviceManagement/reports/retrieveCloudPkiLeafCertificateSummaryReport", rawUrl);
+ }
+ /**
+ * Invoke action retrieveCloudPkiLeafCertificateSummaryReport
+ * @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 RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody body) {
+ return post(body, null);
+ }
+ /**
+ * Invoke action retrieveCloudPkiLeafCertificateSummaryReport
+ * @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 RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody 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 retrieveCloudPkiLeafCertificateSummaryReport
+ * @param body The request body
+ * @return a {@link RequestInformation}
+ */
+ @jakarta.annotation.Nonnull
+ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody body) {
+ return toPostRequestInformation(body, null);
+ }
+ /**
+ * Invoke action retrieveCloudPkiLeafCertificateSummaryReport
+ * @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 RetrieveCloudPkiLeafCertificateSummaryReportPostRequestBody 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 RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
+ Objects.requireNonNull(rawUrl);
+ return new RetrieveCloudPkiLeafCertificateSummaryReportRequestBuilder(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/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportPostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportPostRequestBody.java
index 23bc89c664a..9618a5226d0 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportPostRequestBody.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/reports/retrievecrossregiondisasterrecoveryreport/RetrieveCrossRegionDisasterRecoveryReportPostRequestBody.java
@@ -1,5 +1,6 @@
package com.microsoft.graph.beta.devicemanagement.virtualendpoint.reports.retrievecrossregiondisasterrecoveryreport;
+import com.microsoft.graph.beta.models.CloudPcDisasterRecoveryReportName;
import com.microsoft.kiota.serialization.AdditionalDataHolder;
import com.microsoft.kiota.serialization.Parsable;
import com.microsoft.kiota.serialization.ParseNode;
@@ -61,10 +62,11 @@ public BackingStore getBackingStore() {
*/
@jakarta.annotation.Nonnull
public Map> getFieldDeserializers() {
- final HashMap> deserializerMap = new HashMap>(7);
+ final HashMap> deserializerMap = new HashMap>(8);
deserializerMap.put("filter", (n) -> { this.setFilter(n.getStringValue()); });
deserializerMap.put("groupBy", (n) -> { this.setGroupBy(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("orderBy", (n) -> { this.setOrderBy(n.getCollectionOfPrimitiveValues(String.class)); });
+ deserializerMap.put("reportName", (n) -> { this.setReportName(n.getEnumValue(CloudPcDisasterRecoveryReportName::forValue)); });
deserializerMap.put("search", (n) -> { this.setSearch(n.getStringValue()); });
deserializerMap.put("select", (n) -> { this.setSelect(n.getCollectionOfPrimitiveValues(String.class)); });
deserializerMap.put("skip", (n) -> { this.setSkip(n.getIntegerValue()); });
@@ -95,6 +97,14 @@ public java.util.List getGroupBy() {
public java.util.List getOrderBy() {
return this.backingStore.get("orderBy");
}
+ /**
+ * Gets the reportName property value. The reportName property
+ * @return a {@link CloudPcDisasterRecoveryReportName}
+ */
+ @jakarta.annotation.Nullable
+ public CloudPcDisasterRecoveryReportName getReportName() {
+ return this.backingStore.get("reportName");
+ }
/**
* Gets the search property value. The search property
* @return a {@link String}
@@ -136,6 +146,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ
writer.writeStringValue("filter", this.getFilter());
writer.writeCollectionOfPrimitiveValues("groupBy", this.getGroupBy());
writer.writeCollectionOfPrimitiveValues("orderBy", this.getOrderBy());
+ writer.writeEnumValue("reportName", this.getReportName());
writer.writeStringValue("search", this.getSearch());
writer.writeCollectionOfPrimitiveValues("select", this.getSelect());
writer.writeIntegerValue("skip", this.getSkip());
@@ -178,6 +189,13 @@ public void setGroupBy(@jakarta.annotation.Nullable final java.util.List
public void setOrderBy(@jakarta.annotation.Nullable final java.util.List value) {
this.backingStore.set("orderBy", value);
}
+ /**
+ * Sets the reportName property value. The reportName property
+ * @param value Value to set for the reportName property.
+ */
+ public void setReportName(@jakarta.annotation.Nullable final CloudPcDisasterRecoveryReportName value) {
+ this.backingStore.set("reportName", value);
+ }
/**
* Sets the search property value. The search property
* @param value Value to set for the search property.
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devices/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
index ac11960e937..0404f320805 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/checkmembergroups/CheckMemberGroupsRequestBuilder.java
@@ -35,7 +35,7 @@ public CheckMemberGroupsRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/devices/{device%2Did}/checkMemberGroups", rawUrl);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link CheckMemberGroupsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -46,7 +46,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return post(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link CheckMemberGroupsPostResponse}
@@ -62,7 +62,7 @@ public CheckMemberGroupsPostResponse post(@jakarta.annotation.Nonnull final Chec
return this.requestAdapter.send(requestInfo, errorMapping, CheckMemberGroupsPostResponse::createFromDiscriminatorValue);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @param body The request body
* @return a {@link RequestInformation}
*/
@@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
- * Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
+ * Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. The specified object can be of one of the following types:- user- group- service principal- organizational contact- device- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct.
* @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/devices/item/registeredowners/RegisteredOwnersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/RegisteredOwnersRequestBuilder.java
index 9424ed31b41..095a4034c68 100644
--- a/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/RegisteredOwnersRequestBuilder.java
+++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/RegisteredOwnersRequestBuilder.java
@@ -1,6 +1,7 @@
package com.microsoft.graph.beta.devices.item.registeredowners;
import com.microsoft.graph.beta.devices.item.registeredowners.count.CountRequestBuilder;
+import com.microsoft.graph.beta.devices.item.registeredowners.graphapproleassignment.GraphAppRoleAssignmentRequestBuilder;
import com.microsoft.graph.beta.devices.item.registeredowners.graphendpoint.GraphEndpointRequestBuilder;
import com.microsoft.graph.beta.devices.item.registeredowners.graphserviceprincipal.GraphServicePrincipalRequestBuilder;
import com.microsoft.graph.beta.devices.item.registeredowners.graphuser.GraphUserRequestBuilder;
@@ -34,6 +35,14 @@ public class RegisteredOwnersRequestBuilder extends BaseRequestBuilder {
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
}
+ /**
+ * Casts the previous resource to appRoleAssignment.
+ * @return a {@link GraphAppRoleAssignmentRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public GraphAppRoleAssignmentRequestBuilder graphAppRoleAssignment() {
+ return new GraphAppRoleAssignmentRequestBuilder(pathParameters, requestAdapter);
+ }
/**
* Casts the previous resource to endpoint.
* @return a {@link GraphEndpointRequestBuilder}
diff --git a/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java
new file mode 100644
index 00000000000..3fe5e1ea648
--- /dev/null
+++ b/src/main/java/com/microsoft/graph/beta/generated/devices/item/registeredowners/graphapproleassignment/GraphAppRoleAssignmentRequestBuilder.java
@@ -0,0 +1,174 @@
+package com.microsoft.graph.beta.devices.item.registeredowners.graphapproleassignment;
+
+import com.microsoft.graph.beta.devices.item.registeredowners.graphapproleassignment.count.CountRequestBuilder;
+import com.microsoft.graph.beta.models.AppRoleAssignmentCollectionResponse;
+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;
+/**
+ * Casts the previous resource to appRoleAssignment.
+ */
+@jakarta.annotation.Generated("com.microsoft.kiota")
+public class GraphAppRoleAssignmentRequestBuilder extends BaseRequestBuilder {
+ /**
+ * Provides operations to count the resources in the collection.
+ * @return a {@link CountRequestBuilder}
+ */
+ @jakarta.annotation.Nonnull
+ public CountRequestBuilder count() {
+ return new CountRequestBuilder(pathParameters, requestAdapter);
+ }
+ /**
+ * Instantiates a new {@link GraphAppRoleAssignmentRequestBuilder} and sets the default values.
+ * @param pathParameters Path parameters for the request
+ * @param requestAdapter The request adapter to use to execute the requests.
+ */
+ public GraphAppRoleAssignmentRequestBuilder(@jakarta.annotation.Nonnull final HashMap