Class MicrosoftGraphDeviceInner


  • public final class MicrosoftGraphDeviceInner
    extends MicrosoftGraphDirectoryObjectInner
    Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
    • Constructor Detail

      • MicrosoftGraphDeviceInner

        public MicrosoftGraphDeviceInner()
    • Method Detail

      • accountEnabled

        public Boolean accountEnabled()
        Get the accountEnabled property: true if the account is enabled; otherwise, false. Required.
        Returns:
        the accountEnabled value.
      • withAccountEnabled

        public MicrosoftGraphDeviceInner withAccountEnabled​(Boolean accountEnabled)
        Set the accountEnabled property: true if the account is enabled; otherwise, false. Required.
        Parameters:
        accountEnabled - the accountEnabled value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • alternativeSecurityIds

        public List<MicrosoftGraphAlternativeSecurityId> alternativeSecurityIds()
        Get the alternativeSecurityIds property: For internal use only. Not nullable.
        Returns:
        the alternativeSecurityIds value.
      • withAlternativeSecurityIds

        public MicrosoftGraphDeviceInner withAlternativeSecurityIds​(List<MicrosoftGraphAlternativeSecurityId> alternativeSecurityIds)
        Set the alternativeSecurityIds property: For internal use only. Not nullable.
        Parameters:
        alternativeSecurityIds - the alternativeSecurityIds value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • approximateLastSignInDateTime

        public OffsetDateTime approximateLastSignInDateTime()
        Get the approximateLastSignInDateTime property: 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 approximateLastSignInDateTime value.
      • withApproximateLastSignInDateTime

        public MicrosoftGraphDeviceInner withApproximateLastSignInDateTime​(OffsetDateTime approximateLastSignInDateTime)
        Set the approximateLastSignInDateTime property: 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:
        approximateLastSignInDateTime - the approximateLastSignInDateTime value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • complianceExpirationDateTime

        public OffsetDateTime complianceExpirationDateTime()
        Get the complianceExpirationDateTime property: The timestamp when the device is no longer deemed compliant. 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 complianceExpirationDateTime value.
      • withComplianceExpirationDateTime

        public MicrosoftGraphDeviceInner withComplianceExpirationDateTime​(OffsetDateTime complianceExpirationDateTime)
        Set the complianceExpirationDateTime property: The timestamp when the device is no longer deemed compliant. 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:
        complianceExpirationDateTime - the complianceExpirationDateTime value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • deviceId

        public String deviceId()
        Get the deviceId property: Unique identifier set by Azure Device Registration Service at the time of registration.
        Returns:
        the deviceId value.
      • withDeviceId

        public MicrosoftGraphDeviceInner withDeviceId​(String deviceId)
        Set the deviceId property: Unique identifier set by Azure Device Registration Service at the time of registration.
        Parameters:
        deviceId - the deviceId value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • deviceMetadata

        public String deviceMetadata()
        Get the deviceMetadata property: For internal use only. Set to null.
        Returns:
        the deviceMetadata value.
      • withDeviceMetadata

        public MicrosoftGraphDeviceInner withDeviceMetadata​(String deviceMetadata)
        Set the deviceMetadata property: For internal use only. Set to null.
        Parameters:
        deviceMetadata - the deviceMetadata value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • deviceVersion

        public Integer deviceVersion()
        Get the deviceVersion property: For internal use only.
        Returns:
        the deviceVersion value.
      • withDeviceVersion

        public MicrosoftGraphDeviceInner withDeviceVersion​(Integer deviceVersion)
        Set the deviceVersion property: For internal use only.
        Parameters:
        deviceVersion - the deviceVersion value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • displayName

        public String displayName()
        Get the displayName property: The display name for the device. Required.
        Returns:
        the displayName value.
      • withDisplayName

        public MicrosoftGraphDeviceInner withDisplayName​(String displayName)
        Set the displayName property: The display name for the device. Required.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • isCompliant

        public Boolean isCompliant()
        Get the isCompliant property: true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
        Returns:
        the isCompliant value.
      • withIsCompliant

        public MicrosoftGraphDeviceInner withIsCompliant​(Boolean isCompliant)
        Set the isCompliant property: true if the device complies with Mobile Device Management (MDM) policies; otherwise, false. Read-only. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
        Parameters:
        isCompliant - the isCompliant value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • isManaged

        public Boolean isManaged()
        Get the isManaged property: true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
        Returns:
        the isManaged value.
      • withIsManaged

        public MicrosoftGraphDeviceInner withIsManaged​(Boolean isManaged)
        Set the isManaged property: true if the device is managed by a Mobile Device Management (MDM) app; otherwise, false. This can only be updated by Intune for any device OS type or by an approved MDM app for Windows OS devices.
        Parameters:
        isManaged - the isManaged value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • mdmAppId

        public String mdmAppId()
        Get the mdmAppId property: Application identifier used to register device into MDM. Read-only. Supports $filter.
        Returns:
        the mdmAppId value.
      • withMdmAppId

        public MicrosoftGraphDeviceInner withMdmAppId​(String mdmAppId)
        Set the mdmAppId property: Application identifier used to register device into MDM. Read-only. Supports $filter.
        Parameters:
        mdmAppId - the mdmAppId value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • onPremisesLastSyncDateTime

        public OffsetDateTime onPremisesLastSyncDateTime()
        Get the onPremisesLastSyncDateTime property: The last time at which the object was synced with the on-premises directory. 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 MicrosoftGraphDeviceInner withOnPremisesLastSyncDateTime​(OffsetDateTime onPremisesLastSyncDateTime)
        Set the onPremisesLastSyncDateTime property: The last time at which the object was synced with the on-premises directory. 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 MicrosoftGraphDeviceInner 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 MicrosoftGraphDeviceInner 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 MicrosoftGraphDeviceInner object itself.
      • operatingSystem

        public String operatingSystem()
        Get the operatingSystem property: The type of operating system on the device. Required.
        Returns:
        the operatingSystem value.
      • withOperatingSystem

        public MicrosoftGraphDeviceInner withOperatingSystem​(String operatingSystem)
        Set the operatingSystem property: The type of operating system on the device. Required.
        Parameters:
        operatingSystem - the operatingSystem value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • operatingSystemVersion

        public String operatingSystemVersion()
        Get the operatingSystemVersion property: The version of the operating system on the device. Required.
        Returns:
        the operatingSystemVersion value.
      • withOperatingSystemVersion

        public MicrosoftGraphDeviceInner withOperatingSystemVersion​(String operatingSystemVersion)
        Set the operatingSystemVersion property: The version of the operating system on the device. Required.
        Parameters:
        operatingSystemVersion - the operatingSystemVersion value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • physicalIds

        public List<String> physicalIds()
        Get the physicalIds property: For internal use only. Not nullable.
        Returns:
        the physicalIds value.
      • withPhysicalIds

        public MicrosoftGraphDeviceInner withPhysicalIds​(List<String> physicalIds)
        Set the physicalIds property: For internal use only. Not nullable.
        Parameters:
        physicalIds - the physicalIds value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • profileType

        public String profileType()
        Get the profileType property: The profile type of the device. Possible values:RegisteredDevice (default)SecureVMPrinterSharedIoT.
        Returns:
        the profileType value.
      • withProfileType

        public MicrosoftGraphDeviceInner withProfileType​(String profileType)
        Set the profileType property: The profile type of the device. Possible values:RegisteredDevice (default)SecureVMPrinterSharedIoT.
        Parameters:
        profileType - the profileType value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • systemLabels

        public List<String> systemLabels()
        Get the systemLabels property: List of labels applied to the device by the system.
        Returns:
        the systemLabels value.
      • withSystemLabels

        public MicrosoftGraphDeviceInner withSystemLabels​(List<String> systemLabels)
        Set the systemLabels property: List of labels applied to the device by the system.
        Parameters:
        systemLabels - the systemLabels value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • trustType

        public String trustType()
        Get the trustType property: Type of trust for the joined device. Read-only. Possible values: Workplace - indicates bring your own personal devicesAzureAd - Cloud only joined devicesServerAd - on-premises domain joined devices joined to Azure AD. For more details, see Introduction to device management in Azure Active Directory.
        Returns:
        the trustType value.
      • withTrustType

        public MicrosoftGraphDeviceInner withTrustType​(String trustType)
        Set the trustType property: Type of trust for the joined device. Read-only. Possible values: Workplace - indicates bring your own personal devicesAzureAd - Cloud only joined devicesServerAd - on-premises domain joined devices joined to Azure AD. For more details, see Introduction to device management in Azure Active Directory.
        Parameters:
        trustType - the trustType value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • memberOf

        public List<MicrosoftGraphDirectoryObjectInner> memberOf()
        Get the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.
        Returns:
        the memberOf value.
      • withMemberOf

        public MicrosoftGraphDeviceInner withMemberOf​(List<MicrosoftGraphDirectoryObjectInner> memberOf)
        Set the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.
        Parameters:
        memberOf - the memberOf value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • registeredOwners

        public List<MicrosoftGraphDirectoryObjectInner> registeredOwners()
        Get the registeredOwners property: The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable.
        Returns:
        the registeredOwners value.
      • withRegisteredOwners

        public MicrosoftGraphDeviceInner withRegisteredOwners​(List<MicrosoftGraphDirectoryObjectInner> registeredOwners)
        Set the registeredOwners property: The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Currently, there can be only one owner. Read-only. Nullable.
        Parameters:
        registeredOwners - the registeredOwners value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • registeredUsers

        public List<MicrosoftGraphDirectoryObjectInner> registeredUsers()
        Get the registeredUsers property: Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable.
        Returns:
        the registeredUsers value.
      • withRegisteredUsers

        public MicrosoftGraphDeviceInner withRegisteredUsers​(List<MicrosoftGraphDirectoryObjectInner> registeredUsers)
        Set the registeredUsers property: Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable.
        Parameters:
        registeredUsers - the registeredUsers value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.
      • transitiveMemberOf

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

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

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

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

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
        Overrides:
        additionalProperties in class MicrosoftGraphDirectoryObjectInner
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphDeviceInner withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
        Overrides:
        withAdditionalProperties in class MicrosoftGraphDirectoryObjectInner
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphDeviceInner object itself.