Class User
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DirectoryObject
-
- odata.msgraph.client.entity.User
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class User extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUser.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.entity.DirectoryObject
deletedDateTime
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUser()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<User>assignLicense(List<AssignedLicense> addLicenses, List<UUID> removeLicenses)static User.BuilderbuilderUser()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.ActionRequestNoReturnchangePassword(String currentPassword, String newPassword)com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceAndAppManagementData>exportDeviceAndAppManagementData()com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceAndAppManagementData>exportDeviceAndAppManagementData_Function(Integer skip, Integer top)com.github.davidmoten.odata.client.ActionRequestNoReturnexportPersonalData(String storageLocation)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<MeetingTimeSuggestionsResult>findMeetingTimes(List<AttendeeBase> attendees, LocationConstraint locationConstraint, TimeConstraint timeConstraint, Duration meetingDuration, Integer maxCandidates, Boolean isOrganizerOptional, Boolean returnSuggestionReasons, Double minimumAttendeePercentage)Optional<String>getAboutMe()Optional<Boolean>getAccountEnabled()UserActivityCollectionRequestgetActivities()Optional<String>getAgeGroup()AgreementAcceptanceCollectionRequestgetAgreementAcceptances()AppRoleAssignmentCollectionRequestgetAppRoleAssignments()com.github.davidmoten.odata.client.CollectionPage<AssignedLicense>getAssignedLicenses()com.github.davidmoten.odata.client.CollectionPage<AssignedLicense>getAssignedLicenses(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<AssignedPlan>getAssignedPlans()com.github.davidmoten.odata.client.CollectionPage<AssignedPlan>getAssignedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)AuthenticationRequestgetAuthentication()Optional<AuthorizationInfo>getAuthorizationInfo()Optional<OffsetDateTime>getBirthday()com.github.davidmoten.odata.client.CollectionPage<String>getBusinessPhones()com.github.davidmoten.odata.client.CollectionPage<String>getBusinessPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)CalendarRequestgetCalendar()Org.OData.Capabilities.V1.ChangeTrackingCalendarGroupCollectionRequestgetCalendarGroups()Org.OData.Capabilities.V1.ChangeTrackingCalendarCollectionRequestgetCalendars()Org.OData.Capabilities.V1.ChangeTrackingEventCollectionRequestgetCalendarView()Org.OData.Capabilities.V1.ChangeTrackingcom.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()ChatCollectionRequestgetChats()Optional<String>getCity()Optional<String>getCompanyName()Optional<String>getConsentProvidedForMinor()ContactFolderCollectionRequestgetContactFolders()Org.OData.Capabilities.V1.ChangeTrackingContactCollectionRequestgetContacts()Org.OData.Capabilities.V1.ChangeTrackingOptional<String>getCountry()Optional<OffsetDateTime>getCreatedDateTime()DirectoryObjectCollectionRequestgetCreatedObjects()Optional<String>getCreationType()Optional<CustomSecurityAttributeValue>getCustomSecurityAttributes()Optional<String>getDepartment()Optional<Integer>getDeviceEnrollmentLimit()“The limit on the maximum number of devices that the user is permitted to enroll.DeviceManagementTroubleshootingEventCollectionRequestgetDeviceManagementTroubleshootingEvents()“The list of troubleshooting events for this user.”DirectoryObjectCollectionRequestgetDirectReports()Optional<String>getDisplayName()DriveRequestgetDrive()DriveCollectionRequestgetDrives()EmployeeExperienceUserRequestgetEmployeeExperience()Optional<OffsetDateTime>getEmployeeHireDate()Optional<String>getEmployeeId()Optional<OffsetDateTime>getEmployeeLeaveDateTime()Optional<EmployeeOrgData>getEmployeeOrgData()Optional<String>getEmployeeType()EventCollectionRequestgetEvents()Org.OData.Capabilities.V1.ChangeTrackingExtensionCollectionRequestgetExtensions()Optional<String>getExternalUserState()Optional<OffsetDateTime>getExternalUserStateChangeDateTime()Optional<String>getFaxNumber()SiteCollectionRequestgetFollowedSites()Optional<String>getGivenName()Optional<OffsetDateTime>getHireDate()com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity>getIdentities()com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity>getIdentities(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<String>getImAddresses()com.github.davidmoten.odata.client.CollectionPage<String>getImAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)InferenceClassificationRequestgetInferenceClassification()Org.OData.Capabilities.V1.ChangeTrackingOfficeGraphInsightsRequestgetInsights()com.github.davidmoten.odata.client.CollectionPage<String>getInterests()com.github.davidmoten.odata.client.CollectionPage<String>getInterests(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Boolean>getIsResourceAccount()Optional<String>getJobTitle()TeamCollectionRequestgetJoinedTeams()Optional<OffsetDateTime>getLastPasswordChangeDateTime()Optional<String>getLegalAgeGroupClassification()com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState>getLicenseAssignmentStates()com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState>getLicenseAssignmentStates(com.github.davidmoten.odata.client.HttpRequestOptions options)LicenseDetailsCollectionRequestgetLicenseDetails()Optional<String>getMail()Optional<MailboxSettings>getMailboxSettings()MailFolderCollectionRequestgetMailFolders()Org.OData.Capabilities.V1.ChangeTrackingOptional<String>getMailNickname()com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<MailTips>getMailTips(List<String> emailAddresses, MailTipsType mailTipsOptions)com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppDiagnosticStatus>getManagedAppDiagnosticStatuses()com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppPolicy>getManagedAppPolicies()ManagedAppRegistrationCollectionRequestgetManagedAppRegistrations()“Zero or more managed app registrations that belong to the user.”ManagedDeviceCollectionRequestgetManagedDevices()“The managed devices associated with the user.”com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String>getManagedDevicesWithAppFailures()DirectoryObjectRequestgetManager()DirectoryObjectCollectionRequestgetMemberOf()MessageCollectionRequestgetMessages()Org.OData.Capabilities.V1.ChangeTrackingOptional<String>getMobilePhone()Optional<String>getMySite()OAuth2PermissionGrantCollectionRequestgetOauth2PermissionGrants()Optional<String>getOfficeLocation()OnenoteRequestgetOnenote()OnlineMeetingCollectionRequestgetOnlineMeetings()Optional<String>getOnPremisesDistinguishedName()Optional<String>getOnPremisesDomainName()Optional<OnPremisesExtensionAttributes>getOnPremisesExtensionAttributes()Optional<String>getOnPremisesImmutableId()Optional<OffsetDateTime>getOnPremisesLastSyncDateTime()com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError>getOnPremisesProvisioningErrors()com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError>getOnPremisesProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getOnPremisesSamAccountName()Optional<String>getOnPremisesSecurityIdentifier()Optional<Boolean>getOnPremisesSyncEnabled()Optional<String>getOnPremisesUserPrincipalName()com.github.davidmoten.odata.client.CollectionPage<String>getOtherMails()com.github.davidmoten.odata.client.CollectionPage<String>getOtherMails(com.github.davidmoten.odata.client.HttpRequestOptions options)OutlookUserRequestgetOutlook()Org.OData.Capabilities.V1.ChangeTrackingDirectoryObjectCollectionRequestgetOwnedDevices()DirectoryObjectCollectionRequestgetOwnedObjects()Optional<String>getPasswordPolicies()Optional<PasswordProfile>getPasswordProfile()com.github.davidmoten.odata.client.CollectionPage<String>getPastProjects()com.github.davidmoten.odata.client.CollectionPage<String>getPastProjects(com.github.davidmoten.odata.client.HttpRequestOptions options)PersonCollectionRequestgetPeople()Org.OData.Capabilities.V1.ChangeTrackingProfilePhotoRequestgetPhoto()Org.OData.Capabilities.V1.ChangeTrackingProfilePhotoCollectionRequestgetPhotos()Org.OData.Capabilities.V1.ChangeTrackingPlannerUserRequestgetPlanner()Optional<String>getPostalCode()Optional<String>getPreferredDataLocation()Optional<String>getPreferredLanguage()Optional<String>getPreferredName()PresenceRequestgetPresence()Optional<UserPrint>getPrint()com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan>getProvisionedPlans()com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan>getProvisionedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<String>getProxyAddresses()com.github.davidmoten.odata.client.CollectionPage<String>getProxyAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)DirectoryObjectCollectionRequestgetRegisteredDevices()com.github.davidmoten.odata.client.CollectionPage<String>getResponsibilities()com.github.davidmoten.odata.client.CollectionPage<String>getResponsibilities(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<String>getSchools()com.github.davidmoten.odata.client.CollectionPage<String>getSchools(com.github.davidmoten.odata.client.HttpRequestOptions options)ScopedRoleMembershipCollectionRequestgetScopedRoleMemberOf()Optional<String>getSecurityIdentifier()com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError>getServiceProvisioningErrors()com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError>getServiceProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)UserSettingsRequestgetSettings()Optional<Boolean>getShowInAddressList()Optional<SignInActivity>getSignInActivity()Optional<OffsetDateTime>getSignInSessionsValidFromDateTime()com.github.davidmoten.odata.client.CollectionPage<String>getSkills()com.github.davidmoten.odata.client.CollectionPage<String>getSkills(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getState()Optional<String>getStreetAddress()Optional<String>getSurname()UserTeamworkRequestgetTeamwork()TodoRequestgetTodo()DirectoryObjectCollectionRequestgetTransitiveMemberOf()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getUsageLocation()Optional<String>getUserPrincipalName()Optional<String>getUserType()StringodataTypeName()Userpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Userput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<Reminder>reminderView(String startDateTime, String endDateTime)com.github.davidmoten.odata.client.ActionRequestNoReturnremoveAllDevicesFromManagement()com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<User>reprocessLicenseAssignment()com.github.davidmoten.odata.client.ActionRequestNoReturnretryServiceProvisioning()com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean>revokeSignInSessions()com.github.davidmoten.odata.client.ActionRequestNoReturnsendMail(Message message, Boolean saveToSentItems)StringtoString()com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ConvertIdResult>translateExchangeIds(List<String> inputIds, ExchangeIdFormat targetIdType, ExchangeIdFormat sourceIdType)com.github.davidmoten.odata.client.ActionRequestNoReturnwipeManagedAppRegistrationsByDeviceTag(String deviceTag)UserwithAboutMe(String aboutMe)UserwithAccountEnabled(Boolean accountEnabled)UserwithActivities(List<UserActivity> activities)UserwithAgeGroup(String ageGroup)UserwithAppRoleAssignments(List<AppRoleAssignment> appRoleAssignments)UserwithAssignedLicenses(List<AssignedLicense> assignedLicenses)UserwithAssignedPlans(List<AssignedPlan> assignedPlans)UserwithAuthentication(Authentication authentication)UserwithAuthorizationInfo(AuthorizationInfo authorizationInfo)UserwithBirthday(OffsetDateTime birthday)UserwithBusinessPhones(List<String> businessPhones)UserwithCalendar(Calendar calendar)Returns an immutable copy ofthiswith just thecalendarfield changed.UserwithCalendarGroups(List<CalendarGroup> calendarGroups)Returns an immutable copy ofthiswith just thecalendarGroupsfield changed.UserwithCalendars(List<Calendar> calendars)Returns an immutable copy ofthiswith just thecalendarsfield changed.UserwithCalendarView(List<Event> calendarView)Returns an immutable copy ofthiswith just thecalendarViewfield changed.UserwithChats(List<Chat> chats)UserwithCity(String city)UserwithCompanyName(String companyName)UserwithConsentProvidedForMinor(String consentProvidedForMinor)UserwithContactFolders(List<ContactFolder> contactFolders)Returns an immutable copy ofthiswith just thecontactFoldersfield changed.UserwithContacts(List<Contact> contacts)Returns an immutable copy ofthiswith just thecontactsfield changed.UserwithCountry(String country)UserwithCreatedDateTime(OffsetDateTime createdDateTime)UserwithCreationType(String creationType)UserwithCustomSecurityAttributes(CustomSecurityAttributeValue customSecurityAttributes)UserwithDepartment(String department)UserwithDeviceEnrollmentLimit(Integer deviceEnrollmentLimit)Returns an immutable copy ofthiswith just thedeviceEnrollmentLimitfield changed.UserwithDeviceManagementTroubleshootingEvents(List<DeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents)Returns an immutable copy ofthiswith just thedeviceManagementTroubleshootingEventsfield changed.UserwithDisplayName(String displayName)UserwithDrive(Drive drive)UserwithDrives(List<Drive> drives)UserwithEmployeeExperience(EmployeeExperienceUser employeeExperience)UserwithEmployeeHireDate(OffsetDateTime employeeHireDate)UserwithEmployeeId(String employeeId)UserwithEmployeeLeaveDateTime(OffsetDateTime employeeLeaveDateTime)UserwithEmployeeOrgData(EmployeeOrgData employeeOrgData)UserwithEmployeeType(String employeeType)UserwithEvents(List<Event> events)Returns an immutable copy ofthiswith just theeventsfield changed.UserwithExtensions(List<Extension> extensions)UserwithExternalUserState(String externalUserState)UserwithExternalUserStateChangeDateTime(OffsetDateTime externalUserStateChangeDateTime)UserwithFaxNumber(String faxNumber)UserwithGivenName(String givenName)UserwithHireDate(OffsetDateTime hireDate)UserwithIdentities(List<ObjectIdentity> identities)UserwithImAddresses(List<String> imAddresses)UserwithInferenceClassification(InferenceClassification inferenceClassification)Returns an immutable copy ofthiswith just theinferenceClassificationfield changed.UserwithInsights(OfficeGraphInsights insights)UserwithInterests(List<String> interests)UserwithIsResourceAccount(Boolean isResourceAccount)UserwithJobTitle(String jobTitle)UserwithJoinedTeams(List<Team> joinedTeams)UserwithLastPasswordChangeDateTime(OffsetDateTime lastPasswordChangeDateTime)UserwithLegalAgeGroupClassification(String legalAgeGroupClassification)UserwithLicenseAssignmentStates(List<LicenseAssignmentState> licenseAssignmentStates)UserwithLicenseDetails(List<LicenseDetails> licenseDetails)UserwithMail(String mail)UserwithMailboxSettings(MailboxSettings mailboxSettings)UserwithMailFolders(List<MailFolder> mailFolders)Returns an immutable copy ofthiswith just themailFoldersfield changed.UserwithMailNickname(String mailNickname)UserwithManagedDevices(List<ManagedDevice> managedDevices)Returns an immutable copy ofthiswith just themanagedDevicesfield changed.UserwithMessages(List<Message> messages)Returns an immutable copy ofthiswith just themessagesfield changed.UserwithMobilePhone(String mobilePhone)UserwithMySite(String mySite)UserwithOfficeLocation(String officeLocation)UserwithOnenote(Onenote onenote)UserwithOnlineMeetings(List<OnlineMeeting> onlineMeetings)UserwithOnPremisesDistinguishedName(String onPremisesDistinguishedName)UserwithOnPremisesDomainName(String onPremisesDomainName)UserwithOnPremisesExtensionAttributes(OnPremisesExtensionAttributes onPremisesExtensionAttributes)UserwithOnPremisesImmutableId(String onPremisesImmutableId)UserwithOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)UserwithOnPremisesProvisioningErrors(List<OnPremisesProvisioningError> onPremisesProvisioningErrors)UserwithOnPremisesSamAccountName(String onPremisesSamAccountName)UserwithOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)UserwithOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)UserwithOnPremisesUserPrincipalName(String onPremisesUserPrincipalName)UserwithOtherMails(List<String> otherMails)UserwithOutlook(OutlookUser outlook)Returns an immutable copy ofthiswith just theoutlookfield changed.UserwithPasswordPolicies(String passwordPolicies)UserwithPasswordProfile(PasswordProfile passwordProfile)UserwithPastProjects(List<String> pastProjects)UserwithPeople(List<Person> people)Returns an immutable copy ofthiswith just thepeoplefield changed.UserwithPhoto(ProfilePhoto photo)Returns an immutable copy ofthiswith just thephotofield changed.UserwithPhotos(List<ProfilePhoto> photos)Returns an immutable copy ofthiswith just thephotosfield changed.UserwithPlanner(PlannerUser planner)UserwithPostalCode(String postalCode)UserwithPreferredDataLocation(String preferredDataLocation)UserwithPreferredLanguage(String preferredLanguage)UserwithPreferredName(String preferredName)UserwithPresence(Presence presence)UserwithPrint(UserPrint print)UserwithProvisionedPlans(List<ProvisionedPlan> provisionedPlans)UserwithProxyAddresses(List<String> proxyAddresses)UserwithResponsibilities(List<String> responsibilities)UserwithSchools(List<String> schools)UserwithScopedRoleMemberOf(List<ScopedRoleMembership> scopedRoleMemberOf)UserwithSecurityIdentifier(String securityIdentifier)UserwithServiceProvisioningErrors(List<ServiceProvisioningError> serviceProvisioningErrors)UserwithSettings(UserSettings settings)UserwithShowInAddressList(Boolean showInAddressList)UserwithSignInActivity(SignInActivity signInActivity)UserwithSignInSessionsValidFromDateTime(OffsetDateTime signInSessionsValidFromDateTime)UserwithSkills(List<String> skills)UserwithState(String state)UserwithStreetAddress(String streetAddress)UserwithSurname(String surname)UserwithTeamwork(UserTeamwork teamwork)UserwithTodo(Todo todo)UserwithUnmappedField(String name, Object value)UserwithUsageLocation(String usageLocation)UserwithUserPrincipalName(String userPrincipalName)UserwithUserType(String userType)-
Methods inherited from class odata.msgraph.client.entity.DirectoryObject
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTime
-
-
-
-
Field Detail
-
signInActivity
protected SignInActivity signInActivity
-
accountEnabled
protected Boolean accountEnabled
-
ageGroup
protected String ageGroup
-
assignedLicenses
protected List<AssignedLicense> assignedLicenses
-
assignedLicensesNextLink
protected String assignedLicensesNextLink
-
assignedPlans
protected List<AssignedPlan> assignedPlans
-
assignedPlansNextLink
protected String assignedPlansNextLink
-
authorizationInfo
protected AuthorizationInfo authorizationInfo
-
businessPhonesNextLink
protected String businessPhonesNextLink
-
city
protected String city
-
companyName
protected String companyName
-
consentProvidedForMinor
protected String consentProvidedForMinor
-
country
protected String country
-
createdDateTime
protected OffsetDateTime createdDateTime
-
creationType
protected String creationType
-
customSecurityAttributes
protected CustomSecurityAttributeValue customSecurityAttributes
-
department
protected String department
-
displayName
protected String displayName
-
employeeHireDate
protected OffsetDateTime employeeHireDate
-
employeeId
protected String employeeId
-
employeeLeaveDateTime
protected OffsetDateTime employeeLeaveDateTime
-
employeeOrgData
protected EmployeeOrgData employeeOrgData
-
employeeType
protected String employeeType
-
externalUserState
protected String externalUserState
-
externalUserStateChangeDateTime
protected OffsetDateTime externalUserStateChangeDateTime
-
faxNumber
protected String faxNumber
-
givenName
protected String givenName
-
identities
protected List<ObjectIdentity> identities
-
identitiesNextLink
protected String identitiesNextLink
-
imAddressesNextLink
protected String imAddressesNextLink
-
isResourceAccount
protected Boolean isResourceAccount
-
jobTitle
protected String jobTitle
-
lastPasswordChangeDateTime
protected OffsetDateTime lastPasswordChangeDateTime
-
legalAgeGroupClassification
protected String legalAgeGroupClassification
-
licenseAssignmentStates
protected List<LicenseAssignmentState> licenseAssignmentStates
-
licenseAssignmentStatesNextLink
protected String licenseAssignmentStatesNextLink
-
mail
protected String mail
-
mailNickname
protected String mailNickname
-
mobilePhone
protected String mobilePhone
-
officeLocation
protected String officeLocation
-
onPremisesDistinguishedName
protected String onPremisesDistinguishedName
-
onPremisesDomainName
protected String onPremisesDomainName
-
onPremisesExtensionAttributes
protected OnPremisesExtensionAttributes onPremisesExtensionAttributes
-
onPremisesImmutableId
protected String onPremisesImmutableId
-
onPremisesLastSyncDateTime
protected OffsetDateTime onPremisesLastSyncDateTime
-
onPremisesProvisioningErrors
protected List<OnPremisesProvisioningError> onPremisesProvisioningErrors
-
onPremisesProvisioningErrorsNextLink
protected String onPremisesProvisioningErrorsNextLink
-
onPremisesSamAccountName
protected String onPremisesSamAccountName
-
onPremisesSecurityIdentifier
protected String onPremisesSecurityIdentifier
-
onPremisesSyncEnabled
protected Boolean onPremisesSyncEnabled
-
onPremisesUserPrincipalName
protected String onPremisesUserPrincipalName
-
otherMailsNextLink
protected String otherMailsNextLink
-
passwordPolicies
protected String passwordPolicies
-
passwordProfile
protected PasswordProfile passwordProfile
-
postalCode
protected String postalCode
-
preferredDataLocation
protected String preferredDataLocation
-
preferredLanguage
protected String preferredLanguage
-
provisionedPlans
protected List<ProvisionedPlan> provisionedPlans
-
provisionedPlansNextLink
protected String provisionedPlansNextLink
-
proxyAddressesNextLink
protected String proxyAddressesNextLink
-
securityIdentifier
protected String securityIdentifier
-
serviceProvisioningErrors
protected List<ServiceProvisioningError> serviceProvisioningErrors
-
serviceProvisioningErrorsNextLink
protected String serviceProvisioningErrorsNextLink
-
showInAddressList
protected Boolean showInAddressList
-
signInSessionsValidFromDateTime
protected OffsetDateTime signInSessionsValidFromDateTime
-
state
protected String state
-
streetAddress
protected String streetAddress
-
surname
protected String surname
-
usageLocation
protected String usageLocation
-
userPrincipalName
protected String userPrincipalName
-
userType
protected String userType
-
mailboxSettings
protected MailboxSettings mailboxSettings
-
deviceEnrollmentLimit
protected Integer deviceEnrollmentLimit
-
print
protected UserPrint print
-
aboutMe
protected String aboutMe
-
birthday
protected OffsetDateTime birthday
-
hireDate
protected OffsetDateTime hireDate
-
interestsNextLink
protected String interestsNextLink
-
mySite
protected String mySite
-
pastProjectsNextLink
protected String pastProjectsNextLink
-
preferredName
protected String preferredName
-
responsibilitiesNextLink
protected String responsibilitiesNextLink
-
schoolsNextLink
protected String schoolsNextLink
-
skillsNextLink
protected String skillsNextLink
-
appRoleAssignments
protected List<AppRoleAssignment> appRoleAssignments
-
licenseDetails
protected List<LicenseDetails> licenseDetails
-
scopedRoleMemberOf
protected List<ScopedRoleMembership> scopedRoleMemberOf
-
calendar
protected Calendar calendar
-
calendarGroups
protected List<CalendarGroup> calendarGroups
-
contactFolders
protected List<ContactFolder> contactFolders
-
inferenceClassification
protected InferenceClassification inferenceClassification
-
mailFolders
protected List<MailFolder> mailFolders
-
outlook
protected OutlookUser outlook
-
drive
protected Drive drive
-
managedDevices
protected List<ManagedDevice> managedDevices
-
deviceManagementTroubleshootingEvents
protected List<DeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents
-
planner
protected PlannerUser planner
-
insights
protected OfficeGraphInsights insights
-
settings
protected UserSettings settings
-
onenote
protected Onenote onenote
-
photo
protected ProfilePhoto photo
-
photos
protected List<ProfilePhoto> photos
-
activities
protected List<UserActivity> activities
-
onlineMeetings
protected List<OnlineMeeting> onlineMeetings
-
presence
protected Presence presence
-
authentication
protected Authentication authentication
-
teamwork
protected UserTeamwork teamwork
-
todo
protected Todo todo
-
employeeExperience
protected EmployeeExperienceUser employeeExperience
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDirectoryObject
-
builderUser
public static User.Builder builderUser()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDirectoryObject
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDirectoryObject
-
getSignInActivity
public Optional<SignInActivity> getSignInActivity()
-
withSignInActivity
public User withSignInActivity(SignInActivity signInActivity)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses()
-
withAssignedLicenses
public User withAssignedLicenses(List<AssignedLicense> assignedLicenses)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAssignedPlans
public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans()
-
withAssignedPlans
public User withAssignedPlans(List<AssignedPlan> assignedPlans)
-
getAssignedPlans
public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAuthorizationInfo
public Optional<AuthorizationInfo> getAuthorizationInfo()
-
withAuthorizationInfo
public User withAuthorizationInfo(AuthorizationInfo authorizationInfo)
-
getBusinessPhones
public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones()
-
getBusinessPhones
public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withConsentProvidedForMinor
public User withConsentProvidedForMinor(String consentProvidedForMinor)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public User withCreatedDateTime(OffsetDateTime createdDateTime)
-
getCustomSecurityAttributes
public Optional<CustomSecurityAttributeValue> getCustomSecurityAttributes()
-
withCustomSecurityAttributes
public User withCustomSecurityAttributes(CustomSecurityAttributeValue customSecurityAttributes)
-
getEmployeeHireDate
public Optional<OffsetDateTime> getEmployeeHireDate()
-
withEmployeeHireDate
public User withEmployeeHireDate(OffsetDateTime employeeHireDate)
-
getEmployeeLeaveDateTime
public Optional<OffsetDateTime> getEmployeeLeaveDateTime()
-
withEmployeeLeaveDateTime
public User withEmployeeLeaveDateTime(OffsetDateTime employeeLeaveDateTime)
-
getEmployeeOrgData
public Optional<EmployeeOrgData> getEmployeeOrgData()
-
withEmployeeOrgData
public User withEmployeeOrgData(EmployeeOrgData employeeOrgData)
-
getExternalUserStateChangeDateTime
public Optional<OffsetDateTime> getExternalUserStateChangeDateTime()
-
withExternalUserStateChangeDateTime
public User withExternalUserStateChangeDateTime(OffsetDateTime externalUserStateChangeDateTime)
-
getIdentities
public com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity> getIdentities()
-
withIdentities
public User withIdentities(List<ObjectIdentity> identities)
-
getIdentities
public com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity> getIdentities(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getImAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses()
-
getImAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getLastPasswordChangeDateTime
public Optional<OffsetDateTime> getLastPasswordChangeDateTime()
-
withLastPasswordChangeDateTime
public User withLastPasswordChangeDateTime(OffsetDateTime lastPasswordChangeDateTime)
-
withLegalAgeGroupClassification
public User withLegalAgeGroupClassification(String legalAgeGroupClassification)
-
getLicenseAssignmentStates
public com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState> getLicenseAssignmentStates()
-
withLicenseAssignmentStates
public User withLicenseAssignmentStates(List<LicenseAssignmentState> licenseAssignmentStates)
-
getLicenseAssignmentStates
public com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState> getLicenseAssignmentStates(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withOnPremisesDistinguishedName
public User withOnPremisesDistinguishedName(String onPremisesDistinguishedName)
-
getOnPremisesExtensionAttributes
public Optional<OnPremisesExtensionAttributes> getOnPremisesExtensionAttributes()
-
withOnPremisesExtensionAttributes
public User withOnPremisesExtensionAttributes(OnPremisesExtensionAttributes onPremisesExtensionAttributes)
-
getOnPremisesLastSyncDateTime
public Optional<OffsetDateTime> getOnPremisesLastSyncDateTime()
-
withOnPremisesLastSyncDateTime
public User withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
-
withOnPremisesProvisioningErrors
public User withOnPremisesProvisioningErrors(List<OnPremisesProvisioningError> onPremisesProvisioningErrors)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withOnPremisesSamAccountName
public User withOnPremisesSamAccountName(String onPremisesSamAccountName)
-
withOnPremisesSecurityIdentifier
public User withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)
-
withOnPremisesUserPrincipalName
public User withOnPremisesUserPrincipalName(String onPremisesUserPrincipalName)
-
getOtherMails
public com.github.davidmoten.odata.client.CollectionPage<String> getOtherMails()
-
getOtherMails
public com.github.davidmoten.odata.client.CollectionPage<String> getOtherMails(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPasswordProfile
public Optional<PasswordProfile> getPasswordProfile()
-
withPasswordProfile
public User withPasswordProfile(PasswordProfile passwordProfile)
-
getProvisionedPlans
public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans()
-
withProvisionedPlans
public User withProvisionedPlans(List<ProvisionedPlan> provisionedPlans)
-
getProvisionedPlans
public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses()
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getServiceProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError> getServiceProvisioningErrors()
-
withServiceProvisioningErrors
public User withServiceProvisioningErrors(List<ServiceProvisioningError> serviceProvisioningErrors)
-
getServiceProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<ServiceProvisioningError> getServiceProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSignInSessionsValidFromDateTime
public Optional<OffsetDateTime> getSignInSessionsValidFromDateTime()
-
withSignInSessionsValidFromDateTime
public User withSignInSessionsValidFromDateTime(OffsetDateTime signInSessionsValidFromDateTime)
-
getMailboxSettings
public Optional<MailboxSettings> getMailboxSettings()
-
withMailboxSettings
public User withMailboxSettings(MailboxSettings mailboxSettings)
-
getDeviceEnrollmentLimit
public Optional<Integer> getDeviceEnrollmentLimit()
“The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.”- Returns:
- property deviceEnrollmentLimit
-
withDeviceEnrollmentLimit
public User withDeviceEnrollmentLimit(Integer deviceEnrollmentLimit)
Returns an immutable copy ofthiswith just thedeviceEnrollmentLimitfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.”
- Parameters:
deviceEnrollmentLimit- new value ofdeviceEnrollmentLimitfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceEnrollmentLimitfield changed
-
getBirthday
public Optional<OffsetDateTime> getBirthday()
-
withBirthday
public User withBirthday(OffsetDateTime birthday)
-
getHireDate
public Optional<OffsetDateTime> getHireDate()
-
withHireDate
public User withHireDate(OffsetDateTime hireDate)
-
getInterests
public com.github.davidmoten.odata.client.CollectionPage<String> getInterests()
-
getInterests
public com.github.davidmoten.odata.client.CollectionPage<String> getInterests(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPastProjects
public com.github.davidmoten.odata.client.CollectionPage<String> getPastProjects()
-
getPastProjects
public com.github.davidmoten.odata.client.CollectionPage<String> getPastProjects(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getResponsibilities
public com.github.davidmoten.odata.client.CollectionPage<String> getResponsibilities()
-
getResponsibilities
public com.github.davidmoten.odata.client.CollectionPage<String> getResponsibilities(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSchools
public com.github.davidmoten.odata.client.CollectionPage<String> getSchools()
-
getSchools
public com.github.davidmoten.odata.client.CollectionPage<String> getSchools(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSkills
public com.github.davidmoten.odata.client.CollectionPage<String> getSkills()
-
getSkills
public com.github.davidmoten.odata.client.CollectionPage<String> getSkills(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public User withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classDirectoryObject
-
getAppRoleAssignments
public AppRoleAssignmentCollectionRequest getAppRoleAssignments()
-
getCreatedObjects
public DirectoryObjectCollectionRequest getCreatedObjects()
-
getDirectReports
public DirectoryObjectCollectionRequest getDirectReports()
-
getLicenseDetails
public LicenseDetailsCollectionRequest getLicenseDetails()
-
getManager
public DirectoryObjectRequest getManager()
-
getMemberOf
public DirectoryObjectCollectionRequest getMemberOf()
-
getOauth2PermissionGrants
public OAuth2PermissionGrantCollectionRequest getOauth2PermissionGrants()
-
getOwnedDevices
public DirectoryObjectCollectionRequest getOwnedDevices()
-
getOwnedObjects
public DirectoryObjectCollectionRequest getOwnedObjects()
-
getRegisteredDevices
public DirectoryObjectCollectionRequest getRegisteredDevices()
-
getScopedRoleMemberOf
public ScopedRoleMembershipCollectionRequest getScopedRoleMemberOf()
-
getTransitiveMemberOf
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
-
getCalendar
public CalendarRequest getCalendar()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property calendar
-
getCalendarGroups
public CalendarGroupCollectionRequest getCalendarGroups()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property calendarGroups
-
getCalendars
public CalendarCollectionRequest getCalendars()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property calendars
-
getCalendarView
public EventCollectionRequest getCalendarView()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property calendarView
-
getContactFolders
public ContactFolderCollectionRequest getContactFolders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property contactFolders
-
getContacts
public ContactCollectionRequest getContacts()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
- Returns:
- navigational property contacts
-
getEvents
public EventCollectionRequest getEvents()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property events
-
getInferenceClassification
public InferenceClassificationRequest getInferenceClassification()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property inferenceClassification
-
getMailFolders
public MailFolderCollectionRequest getMailFolders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property mailFolders
-
getMessages
public MessageCollectionRequest getMessages()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
- Returns:
- navigational property messages
-
getOutlook
public OutlookUserRequest getOutlook()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property outlook
-
getPeople
public PersonCollectionRequest getPeople()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property people
-
getDrive
public DriveRequest getDrive()
-
getDrives
public DriveCollectionRequest getDrives()
-
getFollowedSites
public SiteCollectionRequest getFollowedSites()
-
getExtensions
public ExtensionCollectionRequest getExtensions()
-
getAgreementAcceptances
public AgreementAcceptanceCollectionRequest getAgreementAcceptances()
-
getManagedDevices
public ManagedDeviceCollectionRequest getManagedDevices()
“The managed devices associated with the user.”- Returns:
- navigational property managedDevices
-
getManagedAppRegistrations
public ManagedAppRegistrationCollectionRequest getManagedAppRegistrations()
“Zero or more managed app registrations that belong to the user.”- Returns:
- navigational property managedAppRegistrations
-
getDeviceManagementTroubleshootingEvents
public DeviceManagementTroubleshootingEventCollectionRequest getDeviceManagementTroubleshootingEvents()
“The list of troubleshooting events for this user.”- Returns:
- navigational property deviceManagementTroubleshootingEvents
-
getPlanner
public PlannerUserRequest getPlanner()
-
getInsights
public OfficeGraphInsightsRequest getInsights()
-
getSettings
public UserSettingsRequest getSettings()
-
getOnenote
public OnenoteRequest getOnenote()
-
getPhoto
public ProfilePhotoRequest getPhoto()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property photo
-
getPhotos
public ProfilePhotoCollectionRequest getPhotos()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property photos
-
getActivities
public UserActivityCollectionRequest getActivities()
-
getOnlineMeetings
public OnlineMeetingCollectionRequest getOnlineMeetings()
-
getPresence
public PresenceRequest getPresence()
-
getAuthentication
public AuthenticationRequest getAuthentication()
-
getChats
public ChatCollectionRequest getChats()
-
getJoinedTeams
public TeamCollectionRequest getJoinedTeams()
-
getTeamwork
public UserTeamworkRequest getTeamwork()
-
getTodo
public TodoRequest getTodo()
-
getEmployeeExperience
public EmployeeExperienceUserRequest getEmployeeExperience()
-
withAppRoleAssignments
public User withAppRoleAssignments(List<AppRoleAssignment> appRoleAssignments)
-
withLicenseDetails
public User withLicenseDetails(List<LicenseDetails> licenseDetails)
-
withScopedRoleMemberOf
public User withScopedRoleMemberOf(List<ScopedRoleMembership> scopedRoleMemberOf)
-
withCalendar
public User withCalendar(Calendar calendar)
Returns an immutable copy ofthiswith just thecalendarfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
calendar- new value ofcalendarfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecalendarfield changed
-
withCalendarGroups
public User withCalendarGroups(List<CalendarGroup> calendarGroups)
Returns an immutable copy ofthiswith just thecalendarGroupsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
calendarGroups- new value ofcalendarGroupsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecalendarGroupsfield changed
-
withCalendars
public User withCalendars(List<Calendar> calendars)
Returns an immutable copy ofthiswith just thecalendarsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
calendars- new value ofcalendarsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecalendarsfield changed
-
withCalendarView
public User withCalendarView(List<Event> calendarView)
Returns an immutable copy ofthiswith just thecalendarViewfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
calendarView- new value ofcalendarViewfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecalendarViewfield changed
-
withContactFolders
public User withContactFolders(List<ContactFolder> contactFolders)
Returns an immutable copy ofthiswith just thecontactFoldersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
contactFolders- new value ofcontactFoldersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontactFoldersfield changed
-
withContacts
public User withContacts(List<Contact> contacts)
Returns an immutable copy ofthiswith just thecontactsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
- Parameters:
contacts- new value ofcontactsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thecontactsfield changed
-
withEvents
public User withEvents(List<Event> events)
Returns an immutable copy ofthiswith just theeventsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
events- new value ofeventsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeventsfield changed
-
withInferenceClassification
public User withInferenceClassification(InferenceClassification inferenceClassification)
Returns an immutable copy ofthiswith just theinferenceClassificationfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
inferenceClassification- new value ofinferenceClassificationfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinferenceClassificationfield changed
-
withMailFolders
public User withMailFolders(List<MailFolder> mailFolders)
Returns an immutable copy ofthiswith just themailFoldersfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
mailFolders- new value ofmailFoldersfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themailFoldersfield changed
-
withMessages
public User withMessages(List<Message> messages)
Returns an immutable copy ofthiswith just themessagesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
- Parameters:
messages- new value ofmessagesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themessagesfield changed
-
withOutlook
public User withOutlook(OutlookUser outlook)
Returns an immutable copy ofthiswith just theoutlookfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
outlook- new value ofoutlookfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theoutlookfield changed
-
withPeople
public User withPeople(List<Person> people)
Returns an immutable copy ofthiswith just thepeoplefield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
people- new value ofpeoplefield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thepeoplefield changed
-
withManagedDevices
public User withManagedDevices(List<ManagedDevice> managedDevices)
Returns an immutable copy ofthiswith just themanagedDevicesfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“The managed devices associated with the user.”
- Parameters:
managedDevices- new value ofmanagedDevicesfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just themanagedDevicesfield changed
-
withDeviceManagementTroubleshootingEvents
public User withDeviceManagementTroubleshootingEvents(List<DeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents)
Returns an immutable copy ofthiswith just thedeviceManagementTroubleshootingEventsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“The list of troubleshooting events for this user.”
- Parameters:
deviceManagementTroubleshootingEvents- new value ofdeviceManagementTroubleshootingEventsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceManagementTroubleshootingEventsfield changed
-
withPlanner
public User withPlanner(PlannerUser planner)
-
withInsights
public User withInsights(OfficeGraphInsights insights)
-
withSettings
public User withSettings(UserSettings settings)
-
withPhoto
public User withPhoto(ProfilePhoto photo)
Returns an immutable copy ofthiswith just thephotofield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Parameters:
photo- new value ofphotofield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thephotofield changed
-
withPhotos
public User withPhotos(List<ProfilePhoto> photos)
Returns an immutable copy ofthiswith just thephotosfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
photos- new value ofphotosfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thephotosfield changed
-
withActivities
public User withActivities(List<UserActivity> activities)
-
withOnlineMeetings
public User withOnlineMeetings(List<OnlineMeeting> onlineMeetings)
-
withAuthentication
public User withAuthentication(Authentication authentication)
-
withTeamwork
public User withTeamwork(UserTeamwork teamwork)
-
withEmployeeExperience
public User withEmployeeExperience(EmployeeExperienceUser employeeExperience)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDirectoryObject
-
patch
public User patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public User put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
assignLicense
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<User> assignLicense(List<AssignedLicense> addLicenses, List<UUID> removeLicenses)
-
changePassword
public com.github.davidmoten.odata.client.ActionRequestNoReturn changePassword(String currentPassword, String newPassword)
-
reprocessLicenseAssignment
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<User> reprocessLicenseAssignment()
-
retryServiceProvisioning
public com.github.davidmoten.odata.client.ActionRequestNoReturn retryServiceProvisioning()
-
revokeSignInSessions
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> revokeSignInSessions()
-
findMeetingTimes
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<MeetingTimeSuggestionsResult> findMeetingTimes(List<AttendeeBase> attendees, LocationConstraint locationConstraint, TimeConstraint timeConstraint, Duration meetingDuration, Integer maxCandidates, Boolean isOrganizerOptional, Boolean returnSuggestionReasons, Double minimumAttendeePercentage)
-
getMailTips
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<MailTips> getMailTips(List<String> emailAddresses, MailTipsType mailTipsOptions)
-
sendMail
public com.github.davidmoten.odata.client.ActionRequestNoReturn sendMail(Message message, Boolean saveToSentItems)
-
translateExchangeIds
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ConvertIdResult> translateExchangeIds(List<String> inputIds, ExchangeIdFormat targetIdType, ExchangeIdFormat sourceIdType)
-
removeAllDevicesFromManagement
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeAllDevicesFromManagement()
-
wipeManagedAppRegistrationsByDeviceTag
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeManagedAppRegistrationsByDeviceTag(String deviceTag)
-
exportPersonalData
public com.github.davidmoten.odata.client.ActionRequestNoReturn exportPersonalData(String storageLocation)
-
reminderView
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<Reminder> reminderView(String startDateTime, String endDateTime)
-
exportDeviceAndAppManagementData
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceAndAppManagementData> exportDeviceAndAppManagementData()
-
exportDeviceAndAppManagementData_Function
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceAndAppManagementData> exportDeviceAndAppManagementData_Function(Integer skip, Integer top)
-
getManagedAppDiagnosticStatuses
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppDiagnosticStatus> getManagedAppDiagnosticStatuses()
-
getManagedAppPolicies
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppPolicy> getManagedAppPolicies()
-
getManagedDevicesWithAppFailures
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> getManagedDevicesWithAppFailures()
-
toString
public String toString()
- Overrides:
toStringin classDirectoryObject
-
-