Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.graph.models.ServicePrincipal;
import com.microsoft.graph.serviceprincipals.item.approleassignments.AppRoleAssignmentsRequestBuilder;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
import com.microsoft.kiota.HttpMethod;
Expand Down Expand Up @@ -58,6 +59,14 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Provides operations to manage the appRoleAssignments property of the microsoft.graph.servicePrincipal entity.
* @return a {@link AppRoleAssignmentsRequestBuilder}
*/
@jakarta.annotation.Nonnull
public AppRoleAssignmentsRequestBuilder appRoleAssignments() {
return new AppRoleAssignmentsRequestBuilder(pathParameters, requestAdapter);
}
/**
* Retrieve the properties and relationships of a servicePrincipal object.
* @return a {@link ServicePrincipal}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.graph.models.User;
import com.microsoft.graph.users.item.approleassignments.AppRoleAssignmentsRequestBuilder;
import com.microsoft.kiota.BaseRequestBuilder;
import com.microsoft.kiota.BaseRequestConfiguration;
import com.microsoft.kiota.HttpMethod;
Expand Down Expand Up @@ -58,6 +59,14 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
errorMapping.put("XXX", ODataError::createFromDiscriminatorValue);
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity.
* @return a {@link AppRoleAssignmentsRequestBuilder}
*/
@jakarta.annotation.Nonnull
public AppRoleAssignmentsRequestBuilder appRoleAssignments() {
return new AppRoleAssignmentsRequestBuilder(pathParameters, requestAdapter);
}
/**
* Retrieve the properties and relationships of user object. This operation returns by default only a subset of the more commonly used properties for each user. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the user and specify the properties in a $select OData query option. Because the user resource supports extensions, you can also use the GET operation to get custom properties and extension data in a user instance. Customers through Microsoft Entra ID for customers can also use this API operation to retrieve their details.
* @return a {@link User}
Expand Down