Class 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

    • Field Detail

      • accountEnabled

        protected Boolean accountEnabled
      • ageGroup

        protected String ageGroup
      • assignedLicensesNextLink

        protected String assignedLicensesNextLink
      • assignedPlansNextLink

        protected String assignedPlansNextLink
      • businessPhones

        protected List<String> businessPhones
      • businessPhonesNextLink

        protected String businessPhonesNextLink
      • companyName

        protected String companyName
      • consentProvidedForMinor

        protected String consentProvidedForMinor
      • country

        protected String country
      • creationType

        protected String creationType
      • department

        protected String department
      • deviceKeysNextLink

        protected String deviceKeysNextLink
      • displayName

        protected String displayName
      • employeeId

        protected String employeeId
      • employeeType

        protected String employeeType
      • externalUserState

        protected String externalUserState
      • externalUserStateChangeDateTime

        protected String externalUserStateChangeDateTime
      • faxNumber

        protected String faxNumber
      • givenName

        protected String givenName
      • identitiesNextLink

        protected String identitiesNextLink
      • imAddressesNextLink

        protected String imAddressesNextLink
      • infoCatalogs

        protected List<String> infoCatalogs
      • infoCatalogsNextLink

        protected String infoCatalogsNextLink
      • isResourceAccount

        protected Boolean isResourceAccount
      • jobTitle

        protected String jobTitle
      • lastPasswordChangeDateTime

        protected OffsetDateTime lastPasswordChangeDateTime
      • legalAgeGroupClassification

        protected String legalAgeGroupClassification
      • licenseAssignmentStatesNextLink

        protected String licenseAssignmentStatesNextLink
      • mailNickname

        protected String mailNickname
      • mobilePhone

        protected String mobilePhone
      • officeLocation

        protected String officeLocation
      • onPremisesDistinguishedName

        protected String onPremisesDistinguishedName
      • onPremisesDomainName

        protected String onPremisesDomainName
      • onPremisesImmutableId

        protected String onPremisesImmutableId
      • onPremisesLastSyncDateTime

        protected OffsetDateTime onPremisesLastSyncDateTime
      • 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
      • postalCode

        protected String postalCode
      • preferredDataLocation

        protected String preferredDataLocation
      • preferredLanguage

        protected String preferredLanguage
      • provisionedPlansNextLink

        protected String provisionedPlansNextLink
      • proxyAddresses

        protected List<String> proxyAddresses
      • proxyAddressesNextLink

        protected String proxyAddressesNextLink
      • refreshTokensValidFromDateTime

        protected OffsetDateTime refreshTokensValidFromDateTime
      • 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
      • deviceEnrollmentLimit

        protected Integer deviceEnrollmentLimit
      • aboutMe

        protected String aboutMe
      • interestsNextLink

        protected String interestsNextLink
      • mySite

        protected String mySite
      • pastProjects

        protected List<String> pastProjects
      • pastProjectsNextLink

        protected String pastProjectsNextLink
      • preferredName

        protected String preferredName
      • responsibilities

        protected List<String> responsibilities
      • responsibilitiesNextLink

        protected String responsibilitiesNextLink
      • schoolsNextLink

        protected String schoolsNextLink
      • skillsNextLink

        protected String skillsNextLink
    • Constructor Detail

      • User

        protected User()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DirectoryObject
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DirectoryObject
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DirectoryObject
      • withAccountEnabled

        public User withAccountEnabled​(Boolean accountEnabled)
      • withAgeGroup

        public User withAgeGroup​(String ageGroup)
      • getAssignedLicenses

        public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses()
      • 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()
      • getAssignedPlans

        public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getBusinessPhones

        public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones()
      • withBusinessPhones

        public User withBusinessPhones​(List<String> businessPhones)
      • getBusinessPhones

        public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withCity

        public User withCity​(String city)
      • withCompanyName

        public User withCompanyName​(String companyName)
      • getConsentProvidedForMinor

        public Optional<String> getConsentProvidedForMinor()
      • withConsentProvidedForMinor

        public User withConsentProvidedForMinor​(String consentProvidedForMinor)
      • withCountry

        public User withCountry​(String country)
      • withCreatedDateTime

        public User withCreatedDateTime​(OffsetDateTime createdDateTime)
      • withCreationType

        public User withCreationType​(String creationType)
      • withDepartment

        public User withDepartment​(String department)
      • getDeviceKeys

        public com.github.davidmoten.odata.client.CollectionPage<DeviceKey> getDeviceKeys()
      • getDeviceKeys

        public com.github.davidmoten.odata.client.CollectionPage<DeviceKey> getDeviceKeys​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withDisplayName

        public User withDisplayName​(String displayName)
      • withEmployeeHireDate

        public User withEmployeeHireDate​(OffsetDateTime employeeHireDate)
      • withEmployeeId

        public User withEmployeeId​(String employeeId)
      • withEmployeeType

        public User withEmployeeType​(String employeeType)
      • getExternalUserState

        public Optional<String> getExternalUserState()
      • withExternalUserState

        public User withExternalUserState​(String externalUserState)
      • getExternalUserStateChangeDateTime

        public Optional<String> getExternalUserStateChangeDateTime()
      • withExternalUserStateChangeDateTime

        public User withExternalUserStateChangeDateTime​(String externalUserStateChangeDateTime)
      • withFaxNumber

        public User withFaxNumber​(String faxNumber)
      • withGivenName

        public User withGivenName​(String givenName)
      • getIdentities

        public com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity> getIdentities()
      • 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()
      • withImAddresses

        public User withImAddresses​(List<String> imAddresses)
      • getImAddresses

        public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getInfoCatalogs

        public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs()
      • withInfoCatalogs

        public User withInfoCatalogs​(List<String> infoCatalogs)
      • getInfoCatalogs

        public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withIsResourceAccount

        public User withIsResourceAccount​(Boolean isResourceAccount)
      • withJobTitle

        public User withJobTitle​(String jobTitle)
      • withLastPasswordChangeDateTime

        public User withLastPasswordChangeDateTime​(OffsetDateTime lastPasswordChangeDateTime)
      • getLegalAgeGroupClassification

        public Optional<String> getLegalAgeGroupClassification()
      • withLegalAgeGroupClassification

        public User withLegalAgeGroupClassification​(String legalAgeGroupClassification)
      • getLicenseAssignmentStates

        public com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState> getLicenseAssignmentStates()
      • getLicenseAssignmentStates

        public com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState> getLicenseAssignmentStates​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withMail

        public User withMail​(String mail)
      • withMailNickname

        public User withMailNickname​(String mailNickname)
      • withMobilePhone

        public User withMobilePhone​(String mobilePhone)
      • withOfficeLocation

        public User withOfficeLocation​(String officeLocation)
      • getOnPremisesDistinguishedName

        public Optional<String> getOnPremisesDistinguishedName()
      • withOnPremisesDistinguishedName

        public User withOnPremisesDistinguishedName​(String onPremisesDistinguishedName)
      • getOnPremisesDomainName

        public Optional<String> getOnPremisesDomainName()
      • withOnPremisesDomainName

        public User withOnPremisesDomainName​(String onPremisesDomainName)
      • getOnPremisesImmutableId

        public Optional<String> getOnPremisesImmutableId()
      • withOnPremisesImmutableId

        public User withOnPremisesImmutableId​(String onPremisesImmutableId)
      • withOnPremisesLastSyncDateTime

        public User withOnPremisesLastSyncDateTime​(OffsetDateTime onPremisesLastSyncDateTime)
      • getOnPremisesProvisioningErrors

        public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
      • getOnPremisesProvisioningErrors

        public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getOnPremisesSamAccountName

        public Optional<String> getOnPremisesSamAccountName()
      • withOnPremisesSamAccountName

        public User withOnPremisesSamAccountName​(String onPremisesSamAccountName)
      • getOnPremisesSecurityIdentifier

        public Optional<String> getOnPremisesSecurityIdentifier()
      • withOnPremisesSecurityIdentifier

        public User withOnPremisesSecurityIdentifier​(String onPremisesSecurityIdentifier)
      • getOnPremisesSyncEnabled

        public Optional<Boolean> getOnPremisesSyncEnabled()
      • withOnPremisesSyncEnabled

        public User withOnPremisesSyncEnabled​(Boolean onPremisesSyncEnabled)
      • getOnPremisesUserPrincipalName

        public Optional<String> getOnPremisesUserPrincipalName()
      • withOnPremisesUserPrincipalName

        public User withOnPremisesUserPrincipalName​(String onPremisesUserPrincipalName)
      • getOtherMails

        public com.github.davidmoten.odata.client.CollectionPage<String> getOtherMails()
      • withOtherMails

        public User withOtherMails​(List<String> otherMails)
      • getOtherMails

        public com.github.davidmoten.odata.client.CollectionPage<String> getOtherMails​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withPasswordPolicies

        public User withPasswordPolicies​(String passwordPolicies)
      • withPostalCode

        public User withPostalCode​(String postalCode)
      • getPreferredDataLocation

        public Optional<String> getPreferredDataLocation()
      • withPreferredDataLocation

        public User withPreferredDataLocation​(String preferredDataLocation)
      • getPreferredLanguage

        public Optional<String> getPreferredLanguage()
      • withPreferredLanguage

        public User withPreferredLanguage​(String preferredLanguage)
      • getProvisionedPlans

        public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans()
      • 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()
      • withProxyAddresses

        public User withProxyAddresses​(List<String> proxyAddresses)
      • getProxyAddresses

        public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withRefreshTokensValidFromDateTime

        public User withRefreshTokensValidFromDateTime​(OffsetDateTime refreshTokensValidFromDateTime)
      • withShowInAddressList

        public User withShowInAddressList​(Boolean showInAddressList)
      • withSignInSessionsValidFromDateTime

        public User withSignInSessionsValidFromDateTime​(OffsetDateTime signInSessionsValidFromDateTime)
      • withState

        public User withState​(String state)
      • withStreetAddress

        public User withStreetAddress​(String streetAddress)
      • withSurname

        public User withSurname​(String surname)
      • withUsageLocation

        public User withUsageLocation​(String usageLocation)
      • getUserPrincipalName

        public Optional<String> getUserPrincipalName()
      • withUserPrincipalName

        public User withUserPrincipalName​(String userPrincipalName)
      • withUserType

        public User withUserType​(String userType)
      • 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 of this with just the deviceEnrollmentLimit field changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that when this.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 of deviceEnrollmentLimit field (as defined in service metadata)
        Returns:
        immutable copy of this with just the deviceEnrollmentLimit field changed
      • withAboutMe

        public User withAboutMe​(String aboutMe)
      • getInterests

        public com.github.davidmoten.odata.client.CollectionPage<String> getInterests()
      • withInterests

        public User withInterests​(List<String> interests)
      • getInterests

        public com.github.davidmoten.odata.client.CollectionPage<String> getInterests​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withMySite

        public User withMySite​(String mySite)
      • getPastProjects

        public com.github.davidmoten.odata.client.CollectionPage<String> getPastProjects()
      • withPastProjects

        public User withPastProjects​(List<String> pastProjects)
      • getPastProjects

        public com.github.davidmoten.odata.client.CollectionPage<String> getPastProjects​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withPreferredName

        public User withPreferredName​(String preferredName)
      • getResponsibilities

        public com.github.davidmoten.odata.client.CollectionPage<String> getResponsibilities()
      • withResponsibilities

        public User withResponsibilities​(List<String> responsibilities)
      • 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)
      • 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 = false

        Org.OData.Capabilities.V1.ExpandRestrictions

        Expandable = false

        Returns:
        navigational property contacts
      • getEvents

        public EventCollectionRequest getEvents()

        Org.OData.Capabilities.V1.ChangeTracking

        Supported = true

        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
      • getJoinedGroups

        public GroupCollectionRequest getJoinedGroups()

        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 joinedGroups
      • 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
      • getDeviceEnrollmentConfigurations

        public DeviceEnrollmentConfigurationCollectionRequest getDeviceEnrollmentConfigurations()
        “Get enrollment configurations targeted to the user”
        Returns:
        navigational property deviceEnrollmentConfigurations
      • 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
      • getWindowsInformationProtectionDeviceRegistrations

        public WindowsInformationProtectionDeviceRegistrationCollectionRequest getWindowsInformationProtectionDeviceRegistrations()
        “Zero or more WIP device registrations that belong to the user.”
        Returns:
        navigational property windowsInformationProtectionDeviceRegistrations
      • getDeviceManagementTroubleshootingEvents

        public DeviceManagementTroubleshootingEventCollectionRequest getDeviceManagementTroubleshootingEvents()
        “The list of troubleshooting events for this user.”
        Returns:
        navigational property deviceManagementTroubleshootingEvents
      • getMobileAppIntentAndStates

        public MobileAppIntentAndStateCollectionRequest getMobileAppIntentAndStates()
        “The list of troubleshooting events for this user.”
        Returns:
        navigational property mobileAppIntentAndStates
      • getMobileAppTroubleshootingEvents

        public MobileAppTroubleshootingEventCollectionRequest getMobileAppTroubleshootingEvents()
        “The list of mobile app troubleshooting events for this user.”
        Returns:
        navigational property mobileAppTroubleshootingEvents
      • getPhoto

        public ProfilePhotoRequest getPhoto()

        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 photo
      • getPhotos

        public ProfilePhotoCollectionRequest getPhotos()

        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 photos
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DirectoryObject
      • patch

        public User patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DirectoryObject
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DirectoryObject
        Returns:
        a copy of this with changed fields reset
        Throws:
        com.github.davidmoten.odata.client.ClientException - if HTTP response is not as expected
      • activateServicePlan

        public com.github.davidmoten.odata.client.ActionRequestNoReturn activateServicePlan​(UUID servicePlanId,
                                                                                            UUID skuId)
      • 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)
      • invalidateAllRefreshTokens

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> invalidateAllRefreshTokens()
      • reprocessLicenseAssignment

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<User> reprocessLicenseAssignment()
      • revokeSignInSessions

        public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> revokeSignInSessions()
      • 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)
      • removeAllDevicesFromManagement

        public com.github.davidmoten.odata.client.ActionRequestNoReturn removeAllDevicesFromManagement()
      • unblockManagedApps

        public com.github.davidmoten.odata.client.ActionRequestNoReturn unblockManagedApps()
      • wipeAndBlockManagedApps

        public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeAndBlockManagedApps()
      • wipeManagedAppRegistrationByDeviceTag

        public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeManagedAppRegistrationByDeviceTag​(String deviceTag)
      • wipeManagedAppRegistrationsByDeviceTag

        public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeManagedAppRegistrationsByDeviceTag​(String deviceTag)
      • exportPersonalData

        public com.github.davidmoten.odata.client.ActionRequestNoReturn exportPersonalData​(String storageLocation)
      • findRoomLists

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRoomLists()
      • findRooms

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRooms()
      • findRooms_Function

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRooms_Function​(String roomList)
      • 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)
      • getEffectiveDeviceEnrollmentConfigurations

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceEnrollmentConfiguration> getEffectiveDeviceEnrollmentConfigurations()
      • getLoggedOnManagedDevices

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedDevice> getLoggedOnManagedDevices()
      • getManagedAppDiagnosticStatuses

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppDiagnosticStatus> getManagedAppDiagnosticStatuses()
      • getManagedAppPolicies

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppPolicy> getManagedAppPolicies()
      • isManagedAppUserBlocked

        public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<Boolean> isManagedAppUserBlocked()
      • getManagedDevicesWithAppFailures

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> getManagedDevicesWithAppFailures()
      • getManagedDevicesWithFailedOrPendingApps

        public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedDeviceSummarizedAppState> getManagedDevicesWithFailedOrPendingApps()