Package com.microsoft.graph.users.item
Class UserItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.users.item.UserItemRequestBuilder
@Generated("com.microsoft.kiota")
public class UserItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the collection of user entities.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classRead properties and relationships of the user object.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionUserItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserItemRequestBuilderand sets the default values.UserItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the activities property of the microsoft.graph.user entity.Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity.Provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity.Provides operations to call the assignLicense method.Provides operations to manage the authentication property of the microsoft.graph.user entity.calendar()Provides operations to manage the calendar property of the microsoft.graph.user entity.Provides operations to manage the calendarGroups property of the microsoft.graph.user entity.Provides operations to manage the calendars property of the microsoft.graph.user entity.Provides operations to manage the calendarView property of the microsoft.graph.user entity.Provides operations to call the changePassword method.chats()Provides operations to manage the chats property of the microsoft.graph.user entity.Provides operations to call the checkMemberGroups method.Provides operations to call the checkMemberObjects method.Provides operations to manage the cloudClipboard property of the microsoft.graph.user entity.Provides operations to manage the contactFolders property of the microsoft.graph.user entity.contacts()Provides operations to manage the contacts property of the microsoft.graph.user entity.Provides operations to manage the createdObjects property of the microsoft.graph.user entity.voiddelete()Deletes a user.voiddelete(Consumer<UserItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a user.Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity.Provides operations to manage the directReports property of the microsoft.graph.user entity.drive()Provides operations to manage the drive property of the microsoft.graph.user entity.drives()Provides operations to manage the drives property of the microsoft.graph.user entity.Provides operations to manage the employeeExperience property of the microsoft.graph.user entity.events()Provides operations to manage the events property of the microsoft.graph.user entity.Provides operations to call the exportDeviceAndAppManagementData method.Provides operations to call the exportDeviceAndAppManagementData method.Provides operations to call the exportPersonalData method.Provides operations to manage the extensions property of the microsoft.graph.user entity.Provides operations to call the findMeetingTimes method.Provides operations to manage the followedSites property of the microsoft.graph.user entity.get()Read properties and relationships of the user object.get(Consumer<UserItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the user object.Provides operations to call the getMailTips method.Provides operations to call the getManagedAppDiagnosticStatuses method.Provides operations to call the getManagedAppPolicies method.Provides operations to call the getManagedDevicesWithAppFailures method.Provides operations to call the getMemberGroups method.Provides operations to call the getMemberObjects method.Provides operations to manage the inferenceClassification property of the microsoft.graph.user entity.insights()Provides operations to manage the insights property of the microsoft.graph.user entity.Provides operations to manage the joinedTeams property of the microsoft.graph.user entity.Provides operations to manage the licenseDetails property of the microsoft.graph.user entity.The mailboxSettings propertyProvides operations to manage the mailFolders property of the microsoft.graph.user entity.Provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity.Provides operations to manage the managedDevices property of the microsoft.graph.user entity.manager()Provides operations to manage the manager property of the microsoft.graph.user entity.memberOf()Provides operations to manage the memberOf property of the microsoft.graph.user entity.messages()Provides operations to manage the messages property of the microsoft.graph.user entity.Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity.onenote()Provides operations to manage the onenote property of the microsoft.graph.user entity.Provides operations to manage the onlineMeetings property of the microsoft.graph.user entity.outlook()Provides operations to manage the outlook property of the microsoft.graph.user entity.Provides operations to manage the ownedDevices property of the microsoft.graph.user entity.Provides operations to manage the ownedObjects property of the microsoft.graph.user entity.Update the properties of a user object.patch(User body, Consumer<UserItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a user object.people()Provides operations to manage the people property of the microsoft.graph.user entity.Provides operations to manage the permissionGrants property of the microsoft.graph.user entity.photo()Provides operations to manage the photo property of the microsoft.graph.user entity.photos()Provides operations to manage the photos property of the microsoft.graph.user entity.planner()Provides operations to manage the planner property of the microsoft.graph.user entity.presence()Provides operations to manage the presence property of the microsoft.graph.user entity.Provides operations to manage the registeredDevices property of the microsoft.graph.user entity.reminderViewWithStartDateTimeWithEndDateTime(String EndDateTime, String StartDateTime) Provides operations to call the reminderView method.Provides operations to call the removeAllDevicesFromManagement method.Provides operations to call the reprocessLicenseAssignment method.restore()Provides operations to call the restore method.Provides operations to call the retryServiceProvisioning method.Provides operations to call the revokeSignInSessions method.Provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity.sendMail()Provides operations to call the sendMail method.The serviceProvisioningErrors propertysettings()Provides operations to manage the settings property of the microsoft.graph.user entity.Provides operations to manage the solutions property of the microsoft.graph.user entity.sponsors()Provides operations to manage the sponsors property of the microsoft.graph.user entity.teamwork()Provides operations to manage the teamwork property of the microsoft.graph.user entity.com.microsoft.kiota.RequestInformationDeletes a user.com.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<UserItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a user.todo()Provides operations to manage the todo property of the microsoft.graph.user entity.com.microsoft.kiota.RequestInformationRead properties and relationships of the user object.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<UserItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the user object.com.microsoft.kiota.RequestInformationUpdate the properties of a user object.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(User body, Consumer<UserItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a user object.Provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity.Provides operations to call the translateExchangeIds method.Provides operations to call the wipeManagedAppRegistrationsByDeviceTag method.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
UserItemRequestBuilder
public UserItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
UserItemRequestBuilder
public UserItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newUserItemRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
activities
Provides operations to manage the activities property of the microsoft.graph.user entity.- Returns:
- a
ActivitiesRequestBuilder
-
agreementAcceptances
Provides operations to manage the agreementAcceptances property of the microsoft.graph.user entity.- Returns:
- a
AgreementAcceptancesRequestBuilder
-
appRoleAssignments
Provides operations to manage the appRoleAssignments property of the microsoft.graph.user entity.- Returns:
- a
AppRoleAssignmentsRequestBuilder
-
assignLicense
Provides operations to call the assignLicense method.- Returns:
- a
AssignLicenseRequestBuilder
-
authentication
Provides operations to manage the authentication property of the microsoft.graph.user entity.- Returns:
- a
AuthenticationRequestBuilder
-
calendar
Provides operations to manage the calendar property of the microsoft.graph.user entity.- Returns:
- a
CalendarRequestBuilder
-
calendarGroups
Provides operations to manage the calendarGroups property of the microsoft.graph.user entity.- Returns:
- a
CalendarGroupsRequestBuilder
-
calendars
Provides operations to manage the calendars property of the microsoft.graph.user entity.- Returns:
- a
CalendarsRequestBuilder
-
calendarView
Provides operations to manage the calendarView property of the microsoft.graph.user entity.- Returns:
- a
CalendarViewRequestBuilder
-
changePassword
Provides operations to call the changePassword method.- Returns:
- a
ChangePasswordRequestBuilder
-
chats
Provides operations to manage the chats property of the microsoft.graph.user entity.- Returns:
- a
ChatsRequestBuilder
-
checkMemberGroups
Provides operations to call the checkMemberGroups method.- Returns:
- a
CheckMemberGroupsRequestBuilder
-
checkMemberObjects
Provides operations to call the checkMemberObjects method.- Returns:
- a
CheckMemberObjectsRequestBuilder
-
cloudClipboard
Provides operations to manage the cloudClipboard property of the microsoft.graph.user entity.- Returns:
- a
CloudClipboardRequestBuilder
-
contactFolders
Provides operations to manage the contactFolders property of the microsoft.graph.user entity.- Returns:
- a
ContactFoldersRequestBuilder
-
contacts
Provides operations to manage the contacts property of the microsoft.graph.user entity.- Returns:
- a
ContactsRequestBuilder
-
createdObjects
Provides operations to manage the createdObjects property of the microsoft.graph.user entity.- Returns:
- a
CreatedObjectsRequestBuilder
-
deviceManagementTroubleshootingEvents
@Nonnull public DeviceManagementTroubleshootingEventsRequestBuilder deviceManagementTroubleshootingEvents()Provides operations to manage the deviceManagementTroubleshootingEvents property of the microsoft.graph.user entity. -
directReports
Provides operations to manage the directReports property of the microsoft.graph.user entity.- Returns:
- a
DirectReportsRequestBuilder
-
drive
Provides operations to manage the drive property of the microsoft.graph.user entity.- Returns:
- a
DriveRequestBuilder
-
drives
Provides operations to manage the drives property of the microsoft.graph.user entity.- Returns:
- a
DrivesRequestBuilder
-
employeeExperience
Provides operations to manage the employeeExperience property of the microsoft.graph.user entity.- Returns:
- a
EmployeeExperienceRequestBuilder
-
events
Provides operations to manage the events property of the microsoft.graph.user entity.- Returns:
- a
EventsRequestBuilder
-
exportDeviceAndAppManagementData
Provides operations to call the exportDeviceAndAppManagementData method. -
exportPersonalData
Provides operations to call the exportPersonalData method.- Returns:
- a
ExportPersonalDataRequestBuilder
-
extensions
Provides operations to manage the extensions property of the microsoft.graph.user entity.- Returns:
- a
ExtensionsRequestBuilder
-
findMeetingTimes
Provides operations to call the findMeetingTimes method.- Returns:
- a
FindMeetingTimesRequestBuilder
-
followedSites
Provides operations to manage the followedSites property of the microsoft.graph.user entity.- Returns:
- a
FollowedSitesRequestBuilder
-
getMailTips
Provides operations to call the getMailTips method.- Returns:
- a
GetMailTipsRequestBuilder
-
getManagedAppDiagnosticStatuses
Provides operations to call the getManagedAppDiagnosticStatuses method. -
getManagedAppPolicies
Provides operations to call the getManagedAppPolicies method.- Returns:
- a
GetManagedAppPoliciesRequestBuilder
-
getManagedDevicesWithAppFailures
Provides operations to call the getManagedDevicesWithAppFailures method. -
getMemberGroups
Provides operations to call the getMemberGroups method.- Returns:
- a
GetMemberGroupsRequestBuilder
-
getMemberObjects
Provides operations to call the getMemberObjects method.- Returns:
- a
GetMemberObjectsRequestBuilder
-
inferenceClassification
Provides operations to manage the inferenceClassification property of the microsoft.graph.user entity.- Returns:
- a
InferenceClassificationRequestBuilder
-
insights
Provides operations to manage the insights property of the microsoft.graph.user entity.- Returns:
- a
InsightsRequestBuilder
-
joinedTeams
Provides operations to manage the joinedTeams property of the microsoft.graph.user entity.- Returns:
- a
JoinedTeamsRequestBuilder
-
licenseDetails
Provides operations to manage the licenseDetails property of the microsoft.graph.user entity.- Returns:
- a
LicenseDetailsRequestBuilder
-
mailboxSettings
The mailboxSettings property- Returns:
- a
MailboxSettingsRequestBuilder
-
mailFolders
Provides operations to manage the mailFolders property of the microsoft.graph.user entity.- Returns:
- a
MailFoldersRequestBuilder
-
managedAppRegistrations
Provides operations to manage the managedAppRegistrations property of the microsoft.graph.user entity.- Returns:
- a
ManagedAppRegistrationsRequestBuilder
-
managedDevices
Provides operations to manage the managedDevices property of the microsoft.graph.user entity.- Returns:
- a
ManagedDevicesRequestBuilder
-
manager
Provides operations to manage the manager property of the microsoft.graph.user entity.- Returns:
- a
ManagerRequestBuilder
-
memberOf
Provides operations to manage the memberOf property of the microsoft.graph.user entity.- Returns:
- a
MemberOfRequestBuilder
-
messages
Provides operations to manage the messages property of the microsoft.graph.user entity.- Returns:
- a
MessagesRequestBuilder
-
oauth2PermissionGrants
Provides operations to manage the oauth2PermissionGrants property of the microsoft.graph.user entity.- Returns:
- a
Oauth2PermissionGrantsRequestBuilder
-
onenote
Provides operations to manage the onenote property of the microsoft.graph.user entity.- Returns:
- a
OnenoteRequestBuilder
-
onlineMeetings
Provides operations to manage the onlineMeetings property of the microsoft.graph.user entity.- Returns:
- a
OnlineMeetingsRequestBuilder
-
outlook
Provides operations to manage the outlook property of the microsoft.graph.user entity.- Returns:
- a
OutlookRequestBuilder
-
ownedDevices
Provides operations to manage the ownedDevices property of the microsoft.graph.user entity.- Returns:
- a
OwnedDevicesRequestBuilder
-
ownedObjects
Provides operations to manage the ownedObjects property of the microsoft.graph.user entity.- Returns:
- a
OwnedObjectsRequestBuilder
-
people
Provides operations to manage the people property of the microsoft.graph.user entity.- Returns:
- a
PeopleRequestBuilder
-
permissionGrants
Provides operations to manage the permissionGrants property of the microsoft.graph.user entity.- Returns:
- a
PermissionGrantsRequestBuilder
-
photo
Provides operations to manage the photo property of the microsoft.graph.user entity.- Returns:
- a
PhotoRequestBuilder
-
photos
Provides operations to manage the photos property of the microsoft.graph.user entity.- Returns:
- a
PhotosRequestBuilder
-
planner
Provides operations to manage the planner property of the microsoft.graph.user entity.- Returns:
- a
PlannerRequestBuilder
-
presence
Provides operations to manage the presence property of the microsoft.graph.user entity.- Returns:
- a
PresenceRequestBuilder
-
registeredDevices
Provides operations to manage the registeredDevices property of the microsoft.graph.user entity.- Returns:
- a
RegisteredDevicesRequestBuilder
-
removeAllDevicesFromManagement
Provides operations to call the removeAllDevicesFromManagement method.- Returns:
- a
RemoveAllDevicesFromManagementRequestBuilder
-
reprocessLicenseAssignment
Provides operations to call the reprocessLicenseAssignment method.- Returns:
- a
ReprocessLicenseAssignmentRequestBuilder
-
restore
Provides operations to call the restore method.- Returns:
- a
RestoreRequestBuilder
-
retryServiceProvisioning
Provides operations to call the retryServiceProvisioning method.- Returns:
- a
RetryServiceProvisioningRequestBuilder
-
revokeSignInSessions
Provides operations to call the revokeSignInSessions method.- Returns:
- a
RevokeSignInSessionsRequestBuilder
-
scopedRoleMemberOf
Provides operations to manage the scopedRoleMemberOf property of the microsoft.graph.user entity.- Returns:
- a
ScopedRoleMemberOfRequestBuilder
-
sendMail
Provides operations to call the sendMail method.- Returns:
- a
SendMailRequestBuilder
-
serviceProvisioningErrors
The serviceProvisioningErrors property- Returns:
- a
ServiceProvisioningErrorsRequestBuilder
-
settings
Provides operations to manage the settings property of the microsoft.graph.user entity.- Returns:
- a
SettingsRequestBuilder
-
solutions
Provides operations to manage the solutions property of the microsoft.graph.user entity.- Returns:
- a
SolutionsRequestBuilder
-
sponsors
Provides operations to manage the sponsors property of the microsoft.graph.user entity.- Returns:
- a
SponsorsRequestBuilder
-
teamwork
Provides operations to manage the teamwork property of the microsoft.graph.user entity.- Returns:
- a
TeamworkRequestBuilder
-
todo
Provides operations to manage the todo property of the microsoft.graph.user entity.- Returns:
- a
TodoRequestBuilder
-
transitiveMemberOf
Provides operations to manage the transitiveMemberOf property of the microsoft.graph.user entity.- Returns:
- a
TransitiveMemberOfRequestBuilder
-
translateExchangeIds
Provides operations to call the translateExchangeIds method.- Returns:
- a
TranslateExchangeIdsRequestBuilder
-
wipeManagedAppRegistrationsByDeviceTag
@Nonnull public WipeManagedAppRegistrationsByDeviceTagRequestBuilder wipeManagedAppRegistrationsByDeviceTag()Provides operations to call the wipeManagedAppRegistrationsByDeviceTag method. -
delete
public void delete()Deletes a user.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
delete
public void delete(@Nullable Consumer<UserItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a user.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
exportDeviceAndAppManagementDataWithSkipWithTop
@Nonnull public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder exportDeviceAndAppManagementDataWithSkipWithTop(@Nonnull Integer skip, @Nonnull Integer top) Provides operations to call the exportDeviceAndAppManagementData method.- Parameters:
skip- Usage: skip={skip}top- Usage: top={top}- Returns:
- a
ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder
-
get
Read properties and relationships of the user object.- Returns:
- a
User - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public User get(@Nullable Consumer<UserItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the user object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
User - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the properties of a user object.- Parameters:
body- The request body- Returns:
- a
User - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public User patch(@Nonnull User body, @Nullable Consumer<UserItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a user object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
User - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
reminderViewWithStartDateTimeWithEndDateTime
@Nonnull public ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder reminderViewWithStartDateTimeWithEndDateTime(@Nonnull String EndDateTime, @Nonnull String StartDateTime) Provides operations to call the reminderView method.- Parameters:
EndDateTime- Usage: EndDateTime='{EndDateTime}'StartDateTime- Usage: StartDateTime='{StartDateTime}'- Returns:
- a
ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Deletes a user.- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<UserItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Deletes a user.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Read properties and relationships of the user object.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<UserItemRequestBuilder.GetRequestConfiguration> requestConfiguration) Read properties and relationships of the user object.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull User body) Update the properties of a user object.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull User body, @Nullable Consumer<UserItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of a user object.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
UserItemRequestBuilder
-