Class MicrosoftGraphUserInner

    • Constructor Detail

      • MicrosoftGraphUserInner

        public MicrosoftGraphUserInner()
    • Method Detail

      • accountEnabled

        public Boolean accountEnabled()
        Get the accountEnabled property: true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter.
        Returns:
        the accountEnabled value.
      • withAccountEnabled

        public MicrosoftGraphUserInner withAccountEnabled​(Boolean accountEnabled)
        Set the accountEnabled property: true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter.
        Parameters:
        accountEnabled - the accountEnabled value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • ageGroup

        public String ageGroup()
        Get the ageGroup property: Sets the age group of the user. Allowed values: null, minor, notAdult and adult. Refer to the legal age group property definitions for further information.
        Returns:
        the ageGroup value.
      • withAgeGroup

        public MicrosoftGraphUserInner withAgeGroup​(String ageGroup)
        Set the ageGroup property: Sets the age group of the user. Allowed values: null, minor, notAdult and adult. Refer to the legal age group property definitions for further information.
        Parameters:
        ageGroup - the ageGroup value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • assignedLicenses

        public List<MicrosoftGraphAssignedLicense> assignedLicenses()
        Get the assignedLicenses property: The licenses that are assigned to the user. Not nullable.
        Returns:
        the assignedLicenses value.
      • withAssignedLicenses

        public MicrosoftGraphUserInner withAssignedLicenses​(List<MicrosoftGraphAssignedLicense> assignedLicenses)
        Set the assignedLicenses property: The licenses that are assigned to the user. Not nullable.
        Parameters:
        assignedLicenses - the assignedLicenses value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • assignedPlans

        public List<MicrosoftGraphAssignedPlan> assignedPlans()
        Get the assignedPlans property: The plans that are assigned to the user. Read-only. Not nullable.
        Returns:
        the assignedPlans value.
      • withAssignedPlans

        public MicrosoftGraphUserInner withAssignedPlans​(List<MicrosoftGraphAssignedPlan> assignedPlans)
        Set the assignedPlans property: The plans that are assigned to the user. Read-only. Not nullable.
        Parameters:
        assignedPlans - the assignedPlans value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • businessPhones

        public List<String> businessPhones()
        Get the businessPhones property: The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. Read-only for users synced from on-premises directory.
        Returns:
        the businessPhones value.
      • withBusinessPhones

        public MicrosoftGraphUserInner withBusinessPhones​(List<String> businessPhones)
        Set the businessPhones property: The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. Read-only for users synced from on-premises directory.
        Parameters:
        businessPhones - the businessPhones value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • city

        public String city()
        Get the city property: The city in which the user is located. Supports $filter.
        Returns:
        the city value.
      • withCity

        public MicrosoftGraphUserInner withCity​(String city)
        Set the city property: The city in which the user is located. Supports $filter.
        Parameters:
        city - the city value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • companyName

        public String companyName()
        Get the companyName property: The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length of the company name is 64 chararcters.Returned only on $select.
        Returns:
        the companyName value.
      • withCompanyName

        public MicrosoftGraphUserInner withCompanyName​(String companyName)
        Set the companyName property: The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length of the company name is 64 chararcters.Returned only on $select.
        Parameters:
        companyName - the companyName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • consentProvidedForMinor

        public String consentProvidedForMinor()
        Get the consentProvidedForMinor property: Sets whether consent has been obtained for minors. Allowed values: null, granted, denied and notRequired. Refer to the legal age group property definitions for further information.
        Returns:
        the consentProvidedForMinor value.
      • withConsentProvidedForMinor

        public MicrosoftGraphUserInner withConsentProvidedForMinor​(String consentProvidedForMinor)
        Set the consentProvidedForMinor property: Sets whether consent has been obtained for minors. Allowed values: null, granted, denied and notRequired. Refer to the legal age group property definitions for further information.
        Parameters:
        consentProvidedForMinor - the consentProvidedForMinor value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • country

        public String country()
        Get the country property: The country/region in which the user is located; for example, 'US' or 'UK'. Supports $filter.
        Returns:
        the country value.
      • withCountry

        public MicrosoftGraphUserInner withCountry​(String country)
        Set the country property: The country/region in which the user is located; for example, 'US' or 'UK'. Supports $filter.
        Parameters:
        country - the country value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • createdDateTime

        public OffsetDateTime createdDateTime()
        Get the createdDateTime property: The created date of the user object.
        Returns:
        the createdDateTime value.
      • withCreatedDateTime

        public MicrosoftGraphUserInner withCreatedDateTime​(OffsetDateTime createdDateTime)
        Set the createdDateTime property: The created date of the user object.
        Parameters:
        createdDateTime - the createdDateTime value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • creationType

        public String creationType()
        Get the creationType property: Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Read-only.
        Returns:
        the creationType value.
      • withCreationType

        public MicrosoftGraphUserInner withCreationType​(String creationType)
        Set the creationType property: Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Read-only.
        Parameters:
        creationType - the creationType value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • department

        public String department()
        Get the department property: The name for the department in which the user works. Supports $filter.
        Returns:
        the department value.
      • withDepartment

        public MicrosoftGraphUserInner withDepartment​(String department)
        Set the department property: The name for the department in which the user works. Supports $filter.
        Parameters:
        department - the department value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • displayName

        public String displayName()
        Get the displayName property: The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Supports $filter and $orderby.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphUserInner withDisplayName​(String displayName)
        Set the displayName property: The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Supports $filter and $orderby.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • employeeHireDate

        public OffsetDateTime employeeHireDate()
        Get the employeeHireDate property: The date and time when the user was hired or will start work in case of a future hire. Returned only on $select. Supports $filter.
        Returns:
        the employeeHireDate value.
      • withEmployeeHireDate

        public MicrosoftGraphUserInner withEmployeeHireDate​(OffsetDateTime employeeHireDate)
        Set the employeeHireDate property: The date and time when the user was hired or will start work in case of a future hire. Returned only on $select. Supports $filter.
        Parameters:
        employeeHireDate - the employeeHireDate value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • employeeId

        public String employeeId()
        Get the employeeId property: The employee identifier assigned to the user by the organization. Returned only on $select. Supports $filter.
        Returns:
        the employeeId value.
      • withEmployeeId

        public MicrosoftGraphUserInner withEmployeeId​(String employeeId)
        Set the employeeId property: The employee identifier assigned to the user by the organization. Returned only on $select. Supports $filter.
        Parameters:
        employeeId - the employeeId value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • employeeOrgData

        public MicrosoftGraphEmployeeOrgData employeeOrgData()
        Get the employeeOrgData property: employeeOrgData.
        Returns:
        the employeeOrgData value.
      • withEmployeeOrgData

        public MicrosoftGraphUserInner withEmployeeOrgData​(MicrosoftGraphEmployeeOrgData employeeOrgData)
        Set the employeeOrgData property: employeeOrgData.
        Parameters:
        employeeOrgData - the employeeOrgData value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • employeeType

        public String employeeType()
        Get the employeeType property: Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter.
        Returns:
        the employeeType value.
      • withEmployeeType

        public MicrosoftGraphUserInner withEmployeeType​(String employeeType)
        Set the employeeType property: Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter.
        Parameters:
        employeeType - the employeeType value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • externalUserState

        public String externalUserState()
        Get the externalUserState property: For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'.
        Returns:
        the externalUserState value.
      • withExternalUserState

        public MicrosoftGraphUserInner withExternalUserState​(String externalUserState)
        Set the externalUserState property: For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Returned only on $select. Supports $filter with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'.
        Parameters:
        externalUserState - the externalUserState value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • externalUserStateChangeDateTime

        public OffsetDateTime externalUserStateChangeDateTime()
        Get the externalUserStateChangeDateTime property: Shows the timestamp for the latest change to the externalUserState property. Returned only on $select.
        Returns:
        the externalUserStateChangeDateTime value.
      • withExternalUserStateChangeDateTime

        public MicrosoftGraphUserInner withExternalUserStateChangeDateTime​(OffsetDateTime externalUserStateChangeDateTime)
        Set the externalUserStateChangeDateTime property: Shows the timestamp for the latest change to the externalUserState property. Returned only on $select.
        Parameters:
        externalUserStateChangeDateTime - the externalUserStateChangeDateTime value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • faxNumber

        public String faxNumber()
        Get the faxNumber property: The fax number of the user.
        Returns:
        the faxNumber value.
      • withFaxNumber

        public MicrosoftGraphUserInner withFaxNumber​(String faxNumber)
        Set the faxNumber property: The fax number of the user.
        Parameters:
        faxNumber - the faxNumber value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • givenName

        public String givenName()
        Get the givenName property: The given name (first name) of the user. Supports $filter.
        Returns:
        the givenName value.
      • withGivenName

        public MicrosoftGraphUserInner withGivenName​(String givenName)
        Set the givenName property: The given name (first name) of the user. Supports $filter.
        Parameters:
        givenName - the givenName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • identities

        public List<MicrosoftGraphObjectIdentity> identities()
        Get the identities property: Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Supports $filter.
        Returns:
        the identities value.
      • withIdentities

        public MicrosoftGraphUserInner withIdentities​(List<MicrosoftGraphObjectIdentity> identities)
        Set the identities property: Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Supports $filter.
        Parameters:
        identities - the identities value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • imAddresses

        public List<String> imAddresses()
        Get the imAddresses property: The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only.
        Returns:
        the imAddresses value.
      • withImAddresses

        public MicrosoftGraphUserInner withImAddresses​(List<String> imAddresses)
        Set the imAddresses property: The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only.
        Parameters:
        imAddresses - the imAddresses value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • isResourceAccount

        public Boolean isResourceAccount()
        Get the isResourceAccount property: Do not use – reserved for future use.
        Returns:
        the isResourceAccount value.
      • withIsResourceAccount

        public MicrosoftGraphUserInner withIsResourceAccount​(Boolean isResourceAccount)
        Set the isResourceAccount property: Do not use – reserved for future use.
        Parameters:
        isResourceAccount - the isResourceAccount value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • jobTitle

        public String jobTitle()
        Get the jobTitle property: The user's job title. Supports $filter.
        Returns:
        the jobTitle value.
      • withJobTitle

        public MicrosoftGraphUserInner withJobTitle​(String jobTitle)
        Set the jobTitle property: The user's job title. Supports $filter.
        Parameters:
        jobTitle - the jobTitle value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • lastPasswordChangeDateTime

        public OffsetDateTime lastPasswordChangeDateTime()
        Get the lastPasswordChangeDateTime property: The time when this Azure AD user last changed their password. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
        Returns:
        the lastPasswordChangeDateTime value.
      • withLastPasswordChangeDateTime

        public MicrosoftGraphUserInner withLastPasswordChangeDateTime​(OffsetDateTime lastPasswordChangeDateTime)
        Set the lastPasswordChangeDateTime property: The time when this Azure AD user last changed their password. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
        Parameters:
        lastPasswordChangeDateTime - the lastPasswordChangeDateTime value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • legalAgeGroupClassification

        public String legalAgeGroupClassification()
        Get the legalAgeGroupClassification property: Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, minorWithOutParentalConsent, minorWithParentalConsent, minorNoParentalConsentRequired, notAdult and adult. Refer to the legal age group property definitions for further information.
        Returns:
        the legalAgeGroupClassification value.
      • withLegalAgeGroupClassification

        public MicrosoftGraphUserInner withLegalAgeGroupClassification​(String legalAgeGroupClassification)
        Set the legalAgeGroupClassification property: Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, minorWithOutParentalConsent, minorWithParentalConsent, minorNoParentalConsentRequired, notAdult and adult. Refer to the legal age group property definitions for further information.
        Parameters:
        legalAgeGroupClassification - the legalAgeGroupClassification value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • licenseAssignmentStates

        public List<MicrosoftGraphLicenseAssignmentState> licenseAssignmentStates()
        Get the licenseAssignmentStates property: State of license assignments for this user. Read-only.
        Returns:
        the licenseAssignmentStates value.
      • withLicenseAssignmentStates

        public MicrosoftGraphUserInner withLicenseAssignmentStates​(List<MicrosoftGraphLicenseAssignmentState> licenseAssignmentStates)
        Set the licenseAssignmentStates property: State of license assignments for this user. Read-only.
        Parameters:
        licenseAssignmentStates - the licenseAssignmentStates value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • mail

        public String mail()
        Get the mail property: The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter.
        Returns:
        the mail value.
      • withMail

        public MicrosoftGraphUserInner withMail​(String mail)
        Set the mail property: The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter.
        Parameters:
        mail - the mail value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • mailNickname

        public String mailNickname()
        Get the mailNickname property: The mail alias for the user. This property must be specified when a user is created. Supports $filter.
        Returns:
        the mailNickname value.
      • withMailNickname

        public MicrosoftGraphUserInner withMailNickname​(String mailNickname)
        Set the mailNickname property: The mail alias for the user. This property must be specified when a user is created. Supports $filter.
        Parameters:
        mailNickname - the mailNickname value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • mobilePhone

        public String mobilePhone()
        Get the mobilePhone property: The primary cellular telephone number for the user. Read-only for users synced from on-premises directory.
        Returns:
        the mobilePhone value.
      • withMobilePhone

        public MicrosoftGraphUserInner withMobilePhone​(String mobilePhone)
        Set the mobilePhone property: The primary cellular telephone number for the user. Read-only for users synced from on-premises directory.
        Parameters:
        mobilePhone - the mobilePhone value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • officeLocation

        public String officeLocation()
        Get the officeLocation property: The office location in the user's place of business.
        Returns:
        the officeLocation value.
      • withOfficeLocation

        public MicrosoftGraphUserInner withOfficeLocation​(String officeLocation)
        Set the officeLocation property: The office location in the user's place of business.
        Parameters:
        officeLocation - the officeLocation value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesDistinguishedName

        public String onPremisesDistinguishedName()
        Get the onPremisesDistinguishedName property: Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Returns:
        the onPremisesDistinguishedName value.
      • withOnPremisesDistinguishedName

        public MicrosoftGraphUserInner withOnPremisesDistinguishedName​(String onPremisesDistinguishedName)
        Set the onPremisesDistinguishedName property: Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Parameters:
        onPremisesDistinguishedName - the onPremisesDistinguishedName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesDomainName

        public String onPremisesDomainName()
        Get the onPremisesDomainName property: Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Returns:
        the onPremisesDomainName value.
      • withOnPremisesDomainName

        public MicrosoftGraphUserInner withOnPremisesDomainName​(String onPremisesDomainName)
        Set the onPremisesDomainName property: Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Parameters:
        onPremisesDomainName - the onPremisesDomainName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesExtensionAttributes

        public MicrosoftGraphOnPremisesExtensionAttributes onPremisesExtensionAttributes()
        Get the onPremisesExtensionAttributes property: onPremisesExtensionAttributes.
        Returns:
        the onPremisesExtensionAttributes value.
      • withOnPremisesExtensionAttributes

        public MicrosoftGraphUserInner withOnPremisesExtensionAttributes​(MicrosoftGraphOnPremisesExtensionAttributes onPremisesExtensionAttributes)
        Set the onPremisesExtensionAttributes property: onPremisesExtensionAttributes.
        Parameters:
        onPremisesExtensionAttributes - the onPremisesExtensionAttributes value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesImmutableId

        public String onPremisesImmutableId()
        Get the onPremisesImmutableId property: This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
        Returns:
        the onPremisesImmutableId value.
      • withOnPremisesImmutableId

        public MicrosoftGraphUserInner withOnPremisesImmutableId​(String onPremisesImmutableId)
        Set the onPremisesImmutableId property: This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.
        Parameters:
        onPremisesImmutableId - the onPremisesImmutableId value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesLastSyncDateTime

        public OffsetDateTime onPremisesLastSyncDateTime()
        Get the onPremisesLastSyncDateTime property: Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        Returns:
        the onPremisesLastSyncDateTime value.
      • withOnPremisesLastSyncDateTime

        public MicrosoftGraphUserInner withOnPremisesLastSyncDateTime​(OffsetDateTime onPremisesLastSyncDateTime)
        Set the onPremisesLastSyncDateTime property: Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only.
        Parameters:
        onPremisesLastSyncDateTime - the onPremisesLastSyncDateTime value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesProvisioningErrors

        public List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors()
        Get the onPremisesProvisioningErrors property: Errors when using Microsoft synchronization product during provisioning.
        Returns:
        the onPremisesProvisioningErrors value.
      • withOnPremisesProvisioningErrors

        public MicrosoftGraphUserInner withOnPremisesProvisioningErrors​(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)
        Set the onPremisesProvisioningErrors property: Errors when using Microsoft synchronization product during provisioning.
        Parameters:
        onPremisesProvisioningErrors - the onPremisesProvisioningErrors value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesSamAccountName

        public String onPremisesSamAccountName()
        Get the onPremisesSamAccountName property: Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Returns:
        the onPremisesSamAccountName value.
      • withOnPremisesSamAccountName

        public MicrosoftGraphUserInner withOnPremisesSamAccountName​(String onPremisesSamAccountName)
        Set the onPremisesSamAccountName property: Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Parameters:
        onPremisesSamAccountName - the onPremisesSamAccountName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesSecurityIdentifier

        public String onPremisesSecurityIdentifier()
        Get the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only.
        Returns:
        the onPremisesSecurityIdentifier value.
      • withOnPremisesSecurityIdentifier

        public MicrosoftGraphUserInner withOnPremisesSecurityIdentifier​(String onPremisesSecurityIdentifier)
        Set the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only.
        Parameters:
        onPremisesSecurityIdentifier - the onPremisesSecurityIdentifier value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesSyncEnabled

        public Boolean onPremisesSyncEnabled()
        Get the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only.
        Returns:
        the onPremisesSyncEnabled value.
      • withOnPremisesSyncEnabled

        public MicrosoftGraphUserInner withOnPremisesSyncEnabled​(Boolean onPremisesSyncEnabled)
        Set the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only.
        Parameters:
        onPremisesSyncEnabled - the onPremisesSyncEnabled value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onPremisesUserPrincipalName

        public String onPremisesUserPrincipalName()
        Get the onPremisesUserPrincipalName property: Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Returns:
        the onPremisesUserPrincipalName value.
      • withOnPremisesUserPrincipalName

        public MicrosoftGraphUserInner withOnPremisesUserPrincipalName​(String onPremisesUserPrincipalName)
        Set the onPremisesUserPrincipalName property: Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only.
        Parameters:
        onPremisesUserPrincipalName - the onPremisesUserPrincipalName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • otherMails

        public List<String> otherMails()
        Get the otherMails property: A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Supports $filter.
        Returns:
        the otherMails value.
      • withOtherMails

        public MicrosoftGraphUserInner withOtherMails​(List<String> otherMails)
        Set the otherMails property: A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Supports $filter.
        Parameters:
        otherMails - the otherMails value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • passwordPolicies

        public String passwordPolicies()
        Get the passwordPolicies property: Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two may be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'.
        Returns:
        the passwordPolicies value.
      • withPasswordPolicies

        public MicrosoftGraphUserInner withPasswordPolicies​(String passwordPolicies)
        Set the passwordPolicies property: Specifies password policies for the user. This value is an enumeration with one possible value being 'DisableStrongPassword', which allows weaker passwords than the default policy to be specified. 'DisablePasswordExpiration' can also be specified. The two may be specified together; for example: 'DisablePasswordExpiration, DisableStrongPassword'.
        Parameters:
        passwordPolicies - the passwordPolicies value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • passwordProfile

        public MicrosoftGraphPasswordProfile passwordProfile()
        Get the passwordProfile property: passwordProfile.
        Returns:
        the passwordProfile value.
      • withPasswordProfile

        public MicrosoftGraphUserInner withPasswordProfile​(MicrosoftGraphPasswordProfile passwordProfile)
        Set the passwordProfile property: passwordProfile.
        Parameters:
        passwordProfile - the passwordProfile value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • postalCode

        public String postalCode()
        Get the postalCode property: The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
        Returns:
        the postalCode value.
      • withPostalCode

        public MicrosoftGraphUserInner withPostalCode​(String postalCode)
        Set the postalCode property: The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code.
        Parameters:
        postalCode - the postalCode value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • preferredLanguage

        public String preferredLanguage()
        Get the preferredLanguage property: The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'.
        Returns:
        the preferredLanguage value.
      • withPreferredLanguage

        public MicrosoftGraphUserInner withPreferredLanguage​(String preferredLanguage)
        Set the preferredLanguage property: The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'.
        Parameters:
        preferredLanguage - the preferredLanguage value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • provisionedPlans

        public List<MicrosoftGraphProvisionedPlan> provisionedPlans()
        Get the provisionedPlans property: The plans that are provisioned for the user. Read-only. Not nullable.
        Returns:
        the provisionedPlans value.
      • withProvisionedPlans

        public MicrosoftGraphUserInner withProvisionedPlans​(List<MicrosoftGraphProvisionedPlan> provisionedPlans)
        Set the provisionedPlans property: The plans that are provisioned for the user. Read-only. Not nullable.
        Parameters:
        provisionedPlans - the provisionedPlans value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • proxyAddresses

        public List<String> proxyAddresses()
        Get the proxyAddresses property: For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties. Read-only, Not nullable. Supports $filter.
        Returns:
        the proxyAddresses value.
      • withProxyAddresses

        public MicrosoftGraphUserInner withProxyAddresses​(List<String> proxyAddresses)
        Set the proxyAddresses property: For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties. Read-only, Not nullable. Supports $filter.
        Parameters:
        proxyAddresses - the proxyAddresses value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • showInAddressList

        public Boolean showInAddressList()
        Get the showInAddressList property: true if the Outlook global address list should contain this user, otherwise false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false.
        Returns:
        the showInAddressList value.
      • withShowInAddressList

        public MicrosoftGraphUserInner withShowInAddressList​(Boolean showInAddressList)
        Set the showInAddressList property: true if the Outlook global address list should contain this user, otherwise false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false.
        Parameters:
        showInAddressList - the showInAddressList value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • signInSessionsValidFromDateTime

        public OffsetDateTime signInSessionsValidFromDateTime()
        Get the signInSessionsValidFromDateTime property: Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset.
        Returns:
        the signInSessionsValidFromDateTime value.
      • withSignInSessionsValidFromDateTime

        public MicrosoftGraphUserInner withSignInSessionsValidFromDateTime​(OffsetDateTime signInSessionsValidFromDateTime)
        Set the signInSessionsValidFromDateTime property: Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset.
        Parameters:
        signInSessionsValidFromDateTime - the signInSessionsValidFromDateTime value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • state

        public String state()
        Get the state property: The state or province in the user's address. Supports $filter.
        Returns:
        the state value.
      • withState

        public MicrosoftGraphUserInner withState​(String state)
        Set the state property: The state or province in the user's address. Supports $filter.
        Parameters:
        state - the state value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • streetAddress

        public String streetAddress()
        Get the streetAddress property: The street address of the user's place of business.
        Returns:
        the streetAddress value.
      • withStreetAddress

        public MicrosoftGraphUserInner withStreetAddress​(String streetAddress)
        Set the streetAddress property: The street address of the user's place of business.
        Parameters:
        streetAddress - the streetAddress value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • surname

        public String surname()
        Get the surname property: The user's surname (family name or last name). Supports $filter.
        Returns:
        the surname value.
      • withSurname

        public MicrosoftGraphUserInner withSurname​(String surname)
        Set the surname property: The user's surname (family name or last name). Supports $filter.
        Parameters:
        surname - the surname value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • usageLocation

        public String usageLocation()
        Get the usageLocation property: A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: 'US', 'JP', and 'GB'. Not nullable. Supports $filter.
        Returns:
        the usageLocation value.
      • withUsageLocation

        public MicrosoftGraphUserInner withUsageLocation​(String usageLocation)
        Set the usageLocation property: A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: 'US', 'JP', and 'GB'. Not nullable. Supports $filter.
        Parameters:
        usageLocation - the usageLocation value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • userPrincipalName

        public String userPrincipalName()
        Get the userPrincipalName property: The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization. Supports $filter and $orderby.
        Returns:
        the userPrincipalName value.
      • withUserPrincipalName

        public MicrosoftGraphUserInner withUserPrincipalName​(String userPrincipalName)
        Set the userPrincipalName property: The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization. Supports $filter and $orderby.
        Parameters:
        userPrincipalName - the userPrincipalName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • userType

        public String userType()
        Get the userType property: A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter.
        Returns:
        the userType value.
      • withUserType

        public MicrosoftGraphUserInner withUserType​(String userType)
        Set the userType property: A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter.
        Parameters:
        userType - the userType value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • mailboxSettings

        public MicrosoftGraphMailboxSettings mailboxSettings()
        Get the mailboxSettings property: mailboxSettings.
        Returns:
        the mailboxSettings value.
      • withMailboxSettings

        public MicrosoftGraphUserInner withMailboxSettings​(MicrosoftGraphMailboxSettings mailboxSettings)
        Set the mailboxSettings property: mailboxSettings.
        Parameters:
        mailboxSettings - the mailboxSettings value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • deviceEnrollmentLimit

        public Integer deviceEnrollmentLimit()
        Get the deviceEnrollmentLimit property: The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.
        Returns:
        the deviceEnrollmentLimit value.
      • withDeviceEnrollmentLimit

        public MicrosoftGraphUserInner withDeviceEnrollmentLimit​(Integer deviceEnrollmentLimit)
        Set the deviceEnrollmentLimit property: The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.
        Parameters:
        deviceEnrollmentLimit - the deviceEnrollmentLimit value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • aboutMe

        public String aboutMe()
        Get the aboutMe property: A freeform text entry field for the user to describe themselves.
        Returns:
        the aboutMe value.
      • withAboutMe

        public MicrosoftGraphUserInner withAboutMe​(String aboutMe)
        Set the aboutMe property: A freeform text entry field for the user to describe themselves.
        Parameters:
        aboutMe - the aboutMe value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • birthday

        public OffsetDateTime birthday()
        Get the birthday property: The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
        Returns:
        the birthday value.
      • withBirthday

        public MicrosoftGraphUserInner withBirthday​(OffsetDateTime birthday)
        Set the birthday property: The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.
        Parameters:
        birthday - the birthday value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • hireDate

        public OffsetDateTime hireDate()
        Get the hireDate property: The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs.
        Returns:
        the hireDate value.
      • withHireDate

        public MicrosoftGraphUserInner withHireDate​(OffsetDateTime hireDate)
        Set the hireDate property: The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs.
        Parameters:
        hireDate - the hireDate value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • interests

        public List<String> interests()
        Get the interests property: A list for the user to describe their interests.
        Returns:
        the interests value.
      • withInterests

        public MicrosoftGraphUserInner withInterests​(List<String> interests)
        Set the interests property: A list for the user to describe their interests.
        Parameters:
        interests - the interests value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • mySite

        public String mySite()
        Get the mySite property: The URL for the user's personal site.
        Returns:
        the mySite value.
      • withMySite

        public MicrosoftGraphUserInner withMySite​(String mySite)
        Set the mySite property: The URL for the user's personal site.
        Parameters:
        mySite - the mySite value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • pastProjects

        public List<String> pastProjects()
        Get the pastProjects property: A list for the user to enumerate their past projects.
        Returns:
        the pastProjects value.
      • withPastProjects

        public MicrosoftGraphUserInner withPastProjects​(List<String> pastProjects)
        Set the pastProjects property: A list for the user to enumerate their past projects.
        Parameters:
        pastProjects - the pastProjects value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • preferredName

        public String preferredName()
        Get the preferredName property: The preferred name for the user.
        Returns:
        the preferredName value.
      • withPreferredName

        public MicrosoftGraphUserInner withPreferredName​(String preferredName)
        Set the preferredName property: The preferred name for the user.
        Parameters:
        preferredName - the preferredName value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • responsibilities

        public List<String> responsibilities()
        Get the responsibilities property: A list for the user to enumerate their responsibilities.
        Returns:
        the responsibilities value.
      • withResponsibilities

        public MicrosoftGraphUserInner withResponsibilities​(List<String> responsibilities)
        Set the responsibilities property: A list for the user to enumerate their responsibilities.
        Parameters:
        responsibilities - the responsibilities value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • schools

        public List<String> schools()
        Get the schools property: A list for the user to enumerate the schools they have attended.
        Returns:
        the schools value.
      • withSchools

        public MicrosoftGraphUserInner withSchools​(List<String> schools)
        Set the schools property: A list for the user to enumerate the schools they have attended.
        Parameters:
        schools - the schools value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • skills

        public List<String> skills()
        Get the skills property: A list for the user to enumerate their skills.
        Returns:
        the skills value.
      • withSkills

        public MicrosoftGraphUserInner withSkills​(List<String> skills)
        Set the skills property: A list for the user to enumerate their skills.
        Parameters:
        skills - the skills value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • appRoleAssignments

        public List<MicrosoftGraphAppRoleAssignmentInner> appRoleAssignments()
        Get the appRoleAssignments property: The appRoleAssignments property.
        Returns:
        the appRoleAssignments value.
      • withAppRoleAssignments

        public MicrosoftGraphUserInner withAppRoleAssignments​(List<MicrosoftGraphAppRoleAssignmentInner> appRoleAssignments)
        Set the appRoleAssignments property: The appRoleAssignments property.
        Parameters:
        appRoleAssignments - the appRoleAssignments value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • createdObjects

        public List<MicrosoftGraphDirectoryObjectInner> createdObjects()
        Get the createdObjects property: Directory objects that were created by the user. Read-only. Nullable.
        Returns:
        the createdObjects value.
      • withCreatedObjects

        public MicrosoftGraphUserInner withCreatedObjects​(List<MicrosoftGraphDirectoryObjectInner> createdObjects)
        Set the createdObjects property: Directory objects that were created by the user. Read-only. Nullable.
        Parameters:
        createdObjects - the createdObjects value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • directReports

        public List<MicrosoftGraphDirectoryObjectInner> directReports()
        Get the directReports property: The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable.
        Returns:
        the directReports value.
      • withDirectReports

        public MicrosoftGraphUserInner withDirectReports​(List<MicrosoftGraphDirectoryObjectInner> directReports)
        Set the directReports property: The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable.
        Parameters:
        directReports - the directReports value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • licenseDetails

        public List<MicrosoftGraphLicenseDetailsInner> licenseDetails()
        Get the licenseDetails property: A collection of this user's license details. Read-only.
        Returns:
        the licenseDetails value.
      • withLicenseDetails

        public MicrosoftGraphUserInner withLicenseDetails​(List<MicrosoftGraphLicenseDetailsInner> licenseDetails)
        Set the licenseDetails property: A collection of this user's license details. Read-only.
        Parameters:
        licenseDetails - the licenseDetails value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • manager

        public MicrosoftGraphDirectoryObjectInner manager()
        Get the manager property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
        Returns:
        the manager value.
      • withManager

        public MicrosoftGraphUserInner withManager​(MicrosoftGraphDirectoryObjectInner manager)
        Set the manager property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
        Parameters:
        manager - the manager value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • memberOf

        public List<MicrosoftGraphDirectoryObjectInner> memberOf()
        Get the memberOf property: The groups and directory roles that the user is a member of. Read-only. Nullable.
        Returns:
        the memberOf value.
      • withMemberOf

        public MicrosoftGraphUserInner withMemberOf​(List<MicrosoftGraphDirectoryObjectInner> memberOf)
        Set the memberOf property: The groups and directory roles that the user is a member of. Read-only. Nullable.
        Parameters:
        memberOf - the memberOf value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • oauth2PermissionGrants

        public List<MicrosoftGraphOAuth2PermissionGrantInner> oauth2PermissionGrants()
        Get the oauth2PermissionGrants property: The oauth2PermissionGrants property.
        Returns:
        the oauth2PermissionGrants value.
      • withOauth2PermissionGrants

        public MicrosoftGraphUserInner withOauth2PermissionGrants​(List<MicrosoftGraphOAuth2PermissionGrantInner> oauth2PermissionGrants)
        Set the oauth2PermissionGrants property: The oauth2PermissionGrants property.
        Parameters:
        oauth2PermissionGrants - the oauth2PermissionGrants value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • ownedDevices

        public List<MicrosoftGraphDirectoryObjectInner> ownedDevices()
        Get the ownedDevices property: Devices that are owned by the user. Read-only. Nullable.
        Returns:
        the ownedDevices value.
      • withOwnedDevices

        public MicrosoftGraphUserInner withOwnedDevices​(List<MicrosoftGraphDirectoryObjectInner> ownedDevices)
        Set the ownedDevices property: Devices that are owned by the user. Read-only. Nullable.
        Parameters:
        ownedDevices - the ownedDevices value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • ownedObjects

        public List<MicrosoftGraphDirectoryObjectInner> ownedObjects()
        Get the ownedObjects property: Directory objects that are owned by the user. Read-only. Nullable.
        Returns:
        the ownedObjects value.
      • withOwnedObjects

        public MicrosoftGraphUserInner withOwnedObjects​(List<MicrosoftGraphDirectoryObjectInner> ownedObjects)
        Set the ownedObjects property: Directory objects that are owned by the user. Read-only. Nullable.
        Parameters:
        ownedObjects - the ownedObjects value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • registeredDevices

        public List<MicrosoftGraphDirectoryObjectInner> registeredDevices()
        Get the registeredDevices property: Devices that are registered for the user. Read-only. Nullable.
        Returns:
        the registeredDevices value.
      • withRegisteredDevices

        public MicrosoftGraphUserInner withRegisteredDevices​(List<MicrosoftGraphDirectoryObjectInner> registeredDevices)
        Set the registeredDevices property: Devices that are registered for the user. Read-only. Nullable.
        Parameters:
        registeredDevices - the registeredDevices value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • withScopedRoleMemberOf

        public MicrosoftGraphUserInner withScopedRoleMemberOf​(List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMemberOf)
        Set the scopedRoleMemberOf property: The scopedRoleMemberOf property.
        Parameters:
        scopedRoleMemberOf - the scopedRoleMemberOf value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • transitiveMemberOf

        public List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf()
        Get the transitiveMemberOf property: The transitiveMemberOf property.
        Returns:
        the transitiveMemberOf value.
      • withTransitiveMemberOf

        public MicrosoftGraphUserInner withTransitiveMemberOf​(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)
        Set the transitiveMemberOf property: The transitiveMemberOf property.
        Parameters:
        transitiveMemberOf - the transitiveMemberOf value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • calendar

        public MicrosoftGraphCalendar calendar()
        Get the calendar property: calendar.
        Returns:
        the calendar value.
      • withCalendar

        public MicrosoftGraphUserInner withCalendar​(MicrosoftGraphCalendar calendar)
        Set the calendar property: calendar.
        Parameters:
        calendar - the calendar value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • calendarGroups

        public List<MicrosoftGraphCalendarGroup> calendarGroups()
        Get the calendarGroups property: The user's calendar groups. Read-only. Nullable.
        Returns:
        the calendarGroups value.
      • withCalendarGroups

        public MicrosoftGraphUserInner withCalendarGroups​(List<MicrosoftGraphCalendarGroup> calendarGroups)
        Set the calendarGroups property: The user's calendar groups. Read-only. Nullable.
        Parameters:
        calendarGroups - the calendarGroups value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • calendars

        public List<MicrosoftGraphCalendar> calendars()
        Get the calendars property: The user's calendars. Read-only. Nullable.
        Returns:
        the calendars value.
      • withCalendars

        public MicrosoftGraphUserInner withCalendars​(List<MicrosoftGraphCalendar> calendars)
        Set the calendars property: The user's calendars. Read-only. Nullable.
        Parameters:
        calendars - the calendars value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • calendarView

        public List<MicrosoftGraphEvent> calendarView()
        Get the calendarView property: The calendar view for the calendar. Read-only. Nullable.
        Returns:
        the calendarView value.
      • withCalendarView

        public MicrosoftGraphUserInner withCalendarView​(List<MicrosoftGraphEvent> calendarView)
        Set the calendarView property: The calendar view for the calendar. Read-only. Nullable.
        Parameters:
        calendarView - the calendarView value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • contactFolders

        public List<MicrosoftGraphContactFolder> contactFolders()
        Get the contactFolders property: The user's contacts folders. Read-only. Nullable.
        Returns:
        the contactFolders value.
      • withContactFolders

        public MicrosoftGraphUserInner withContactFolders​(List<MicrosoftGraphContactFolder> contactFolders)
        Set the contactFolders property: The user's contacts folders. Read-only. Nullable.
        Parameters:
        contactFolders - the contactFolders value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • contacts

        public List<MicrosoftGraphContactInner> contacts()
        Get the contacts property: The user's contacts. Read-only. Nullable.
        Returns:
        the contacts value.
      • withContacts

        public MicrosoftGraphUserInner withContacts​(List<MicrosoftGraphContactInner> contacts)
        Set the contacts property: The user's contacts. Read-only. Nullable.
        Parameters:
        contacts - the contacts value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • events

        public List<MicrosoftGraphEvent> events()
        Get the events property: The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable.
        Returns:
        the events value.
      • withEvents

        public MicrosoftGraphUserInner withEvents​(List<MicrosoftGraphEvent> events)
        Set the events property: The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable.
        Parameters:
        events - the events value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • inferenceClassification

        public MicrosoftGraphInferenceClassification inferenceClassification()
        Get the inferenceClassification property: inferenceClassification.
        Returns:
        the inferenceClassification value.
      • withInferenceClassification

        public MicrosoftGraphUserInner withInferenceClassification​(MicrosoftGraphInferenceClassification inferenceClassification)
        Set the inferenceClassification property: inferenceClassification.
        Parameters:
        inferenceClassification - the inferenceClassification value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • mailFolders

        public List<MicrosoftGraphMailFolder> mailFolders()
        Get the mailFolders property: The user's mail folders. Read-only. Nullable.
        Returns:
        the mailFolders value.
      • withMailFolders

        public MicrosoftGraphUserInner withMailFolders​(List<MicrosoftGraphMailFolder> mailFolders)
        Set the mailFolders property: The user's mail folders. Read-only. Nullable.
        Parameters:
        mailFolders - the mailFolders value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • messages

        public List<MicrosoftGraphMessage> messages()
        Get the messages property: The messages in a mailbox or folder. Read-only. Nullable.
        Returns:
        the messages value.
      • withMessages

        public MicrosoftGraphUserInner withMessages​(List<MicrosoftGraphMessage> messages)
        Set the messages property: The messages in a mailbox or folder. Read-only. Nullable.
        Parameters:
        messages - the messages value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • people

        public List<MicrosoftGraphPerson> people()
        Get the people property: People that are relevant to the user. Read-only. Nullable.
        Returns:
        the people value.
      • withPeople

        public MicrosoftGraphUserInner withPeople​(List<MicrosoftGraphPerson> people)
        Set the people property: People that are relevant to the user. Read-only. Nullable.
        Parameters:
        people - the people value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • drive

        public MicrosoftGraphDrive drive()
        Get the drive property: drive.
        Returns:
        the drive value.
      • withDrive

        public MicrosoftGraphUserInner withDrive​(MicrosoftGraphDrive drive)
        Set the drive property: drive.
        Parameters:
        drive - the drive value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • drives

        public List<MicrosoftGraphDrive> drives()
        Get the drives property: A collection of drives available for this user. Read-only.
        Returns:
        the drives value.
      • withDrives

        public MicrosoftGraphUserInner withDrives​(List<MicrosoftGraphDrive> drives)
        Set the drives property: A collection of drives available for this user. Read-only.
        Parameters:
        drives - the drives value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • followedSites

        public List<MicrosoftGraphSite> followedSites()
        Get the followedSites property: The followedSites property.
        Returns:
        the followedSites value.
      • withFollowedSites

        public MicrosoftGraphUserInner withFollowedSites​(List<MicrosoftGraphSite> followedSites)
        Set the followedSites property: The followedSites property.
        Parameters:
        followedSites - the followedSites value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • extensions

        public List<MicrosoftGraphExtensionInner> extensions()
        Get the extensions property: The collection of open extensions defined for the user. Read-only. Nullable.
        Returns:
        the extensions value.
      • withExtensions

        public MicrosoftGraphUserInner withExtensions​(List<MicrosoftGraphExtensionInner> extensions)
        Set the extensions property: The collection of open extensions defined for the user. Read-only. Nullable.
        Parameters:
        extensions - the extensions value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • managedDevices

        public List<MicrosoftGraphManagedDevice> managedDevices()
        Get the managedDevices property: The managed devices associated with the user.
        Returns:
        the managedDevices value.
      • withManagedDevices

        public MicrosoftGraphUserInner withManagedDevices​(List<MicrosoftGraphManagedDevice> managedDevices)
        Set the managedDevices property: The managed devices associated with the user.
        Parameters:
        managedDevices - the managedDevices value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • managedAppRegistrations

        public List<MicrosoftGraphManagedAppRegistration> managedAppRegistrations()
        Get the managedAppRegistrations property: Zero or more managed app registrations that belong to the user.
        Returns:
        the managedAppRegistrations value.
      • withManagedAppRegistrations

        public MicrosoftGraphUserInner withManagedAppRegistrations​(List<MicrosoftGraphManagedAppRegistration> managedAppRegistrations)
        Set the managedAppRegistrations property: Zero or more managed app registrations that belong to the user.
        Parameters:
        managedAppRegistrations - the managedAppRegistrations value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • deviceManagementTroubleshootingEvents

        public List<MicrosoftGraphDeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents()
        Get the deviceManagementTroubleshootingEvents property: The list of troubleshooting events for this user.
        Returns:
        the deviceManagementTroubleshootingEvents value.
      • withDeviceManagementTroubleshootingEvents

        public MicrosoftGraphUserInner withDeviceManagementTroubleshootingEvents​(List<MicrosoftGraphDeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents)
        Set the deviceManagementTroubleshootingEvents property: The list of troubleshooting events for this user.
        Parameters:
        deviceManagementTroubleshootingEvents - the deviceManagementTroubleshootingEvents value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onenote

        public MicrosoftGraphOnenote onenote()
        Get the onenote property: onenote.
        Returns:
        the onenote value.
      • withOnenote

        public MicrosoftGraphUserInner withOnenote​(MicrosoftGraphOnenote onenote)
        Set the onenote property: onenote.
        Parameters:
        onenote - the onenote value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • activities

        public List<MicrosoftGraphUserActivity> activities()
        Get the activities property: The user's activities across devices. Read-only. Nullable.
        Returns:
        the activities value.
      • withActivities

        public MicrosoftGraphUserInner withActivities​(List<MicrosoftGraphUserActivity> activities)
        Set the activities property: The user's activities across devices. Read-only. Nullable.
        Parameters:
        activities - the activities value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • onlineMeetings

        public List<MicrosoftGraphOnlineMeeting> onlineMeetings()
        Get the onlineMeetings property: The onlineMeetings property.
        Returns:
        the onlineMeetings value.
      • withOnlineMeetings

        public MicrosoftGraphUserInner withOnlineMeetings​(List<MicrosoftGraphOnlineMeeting> onlineMeetings)
        Set the onlineMeetings property: The onlineMeetings property.
        Parameters:
        onlineMeetings - the onlineMeetings value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • presence

        public MicrosoftGraphPresence presence()
        Get the presence property: presence.
        Returns:
        the presence value.
      • withPresence

        public MicrosoftGraphUserInner withPresence​(MicrosoftGraphPresence presence)
        Set the presence property: presence.
        Parameters:
        presence - the presence value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.
      • joinedTeams

        public List<MicrosoftGraphTeamInner> joinedTeams()
        Get the joinedTeams property: The joinedTeams property.
        Returns:
        the joinedTeams value.
      • withJoinedTeams

        public MicrosoftGraphUserInner withJoinedTeams​(List<MicrosoftGraphTeamInner> joinedTeams)
        Set the joinedTeams property: The joinedTeams property.
        Parameters:
        joinedTeams - the joinedTeams value to set.
        Returns:
        the MicrosoftGraphUserInner object itself.