Class Device

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class Device extends DirectoryObject implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Device.
  • Field Details

    • accountEnabled

      @SerializedName(value="accountEnabled", alternate="AccountEnabled") @Expose @Nullable public Boolean accountEnabled
      The Account Enabled. true if the account is enabled; otherwise, false. Required. Default is true. Supports $filter (eq, ne, not, in). Only callers in Global Administrator and Cloud Device Administrator roles can set this property.
    • alternativeSecurityIds

      @SerializedName(value="alternativeSecurityIds", alternate="AlternativeSecurityIds") @Expose @Nullable public List<AlternativeSecurityId> alternativeSecurityIds
      The Alternative Security Ids. For internal use only. Not nullable. Supports $filter (eq, not, ge, le).
    • approximateLastSignInDateTime

      @SerializedName(value="approximateLastSignInDateTime", alternate="ApproximateLastSignInDateTime") @Expose @Nullable public OffsetDateTime approximateLastSignInDateTime
      The Approximate Last Sign In Date Time. 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 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy.
    • complianceExpirationDateTime

      @SerializedName(value="complianceExpirationDateTime", alternate="ComplianceExpirationDateTime") @Expose @Nullable public OffsetDateTime complianceExpirationDateTime
      The Compliance Expiration Date Time. 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 is 2014-01-01T00:00:00Z. Read-only.
    • deviceCategory

      @SerializedName(value="deviceCategory", alternate="DeviceCategory") @Expose @Nullable public String deviceCategory
      The Device Category. User-defined property set by Intune to automatically add devices to groups and simplify managing devices.
    • deviceId

      @SerializedName(value="deviceId", alternate="DeviceId") @Expose @Nullable public String deviceId
      The Device Id. Unique identifier set by Azure Device Registration Service at the time of registration. This is an alternate key that can be used to reference the device object. Supports $filter (eq, ne, not, startsWith).
    • deviceMetadata

      @SerializedName(value="deviceMetadata", alternate="DeviceMetadata") @Expose @Nullable public String deviceMetadata
      The Device Metadata. For internal use only. Set to null.
    • deviceOwnership

      @SerializedName(value="deviceOwnership", alternate="DeviceOwnership") @Expose @Nullable public String deviceOwnership
      The Device Ownership. Ownership of the device. This property is set by Intune. Possible values are: unknown, company, personal.
    • deviceVersion

      @SerializedName(value="deviceVersion", alternate="DeviceVersion") @Expose @Nullable public Integer deviceVersion
      The Device Version. For internal use only.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.
    • enrollmentProfileName

      @SerializedName(value="enrollmentProfileName", alternate="EnrollmentProfileName") @Expose @Nullable public String enrollmentProfileName
      The Enrollment Profile Name. Enrollment profile applied to the device. For example, Apple Device Enrollment Profile, Device enrollment - Corporate device identifiers, or Windows Autopilot profile name. This property is set by Intune.
    • isCompliant

      @SerializedName(value="isCompliant", alternate="IsCompliant") @Expose @Nullable public Boolean isCompliant
      The Is Compliant. 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. Supports $filter (eq, ne, not).
    • isManaged

      @SerializedName(value="isManaged", alternate="IsManaged") @Expose @Nullable public Boolean isManaged
      The Is Managed. 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. Supports $filter (eq, ne, not).
    • mdmAppId

      @SerializedName(value="mdmAppId", alternate="MdmAppId") @Expose @Nullable public String mdmAppId
      The Mdm App Id. Application identifier used to register device into MDM. Read-only. Supports $filter (eq, ne, not, startsWith).
    • onPremisesLastSyncDateTime

      @SerializedName(value="onPremisesLastSyncDateTime", alternate="OnPremisesLastSyncDateTime") @Expose @Nullable public OffsetDateTime onPremisesLastSyncDateTime
      The On Premises Last Sync Date Time. 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 is 2014-01-01T00:00:00Z Read-only. Supports $filter (eq, ne, not, ge, le, in).
    • onPremisesSyncEnabled

      @SerializedName(value="onPremisesSyncEnabled", alternate="OnPremisesSyncEnabled") @Expose @Nullable public Boolean onPremisesSyncEnabled
      The On Premises Sync Enabled. 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. Supports $filter (eq, ne, not, in, and eq on null values).
    • operatingSystem

      @SerializedName(value="operatingSystem", alternate="OperatingSystem") @Expose @Nullable public String operatingSystem
      The Operating System. The type of operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values).
    • operatingSystemVersion

      @SerializedName(value="operatingSystemVersion", alternate="OperatingSystemVersion") @Expose @Nullable public String operatingSystemVersion
      The Operating System Version. The version of the operating system on the device. Required. Supports $filter (eq, ne, not, ge, le, startsWith, and eq on null values).
    • physicalIds

      @SerializedName(value="physicalIds", alternate="PhysicalIds") @Expose @Nullable public List<String> physicalIds
      The Physical Ids. For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith,/$count eq 0, /$count ne 0).
    • profileType

      @SerializedName(value="profileType", alternate="ProfileType") @Expose @Nullable public String profileType
      The Profile Type. The profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT.
    • registrationDateTime

      @SerializedName(value="registrationDateTime", alternate="RegistrationDateTime") @Expose @Nullable public OffsetDateTime registrationDateTime
      The Registration Date Time. Date and time of when the device was registered. 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 is 2014-01-01T00:00:00Z. Read-only.
    • systemLabels

      @SerializedName(value="systemLabels", alternate="SystemLabels") @Expose @Nullable public List<String> systemLabels
      The System Labels. List of labels applied to the device by the system. Supports $filter (/$count eq 0, /$count ne 0).
    • trustType

      @SerializedName(value="trustType", alternate="TrustType") @Expose @Nullable public String trustType
      The Trust Type. Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory
    • memberOf

      @Nullable public DirectoryObjectCollectionPage memberOf
      The Member Of. Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand.
    • registeredOwners

      @Nullable public DirectoryObjectCollectionPage registeredOwners
      The Registered Owners. The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand.
    • registeredUsers

      @Nullable public DirectoryObjectCollectionPage registeredUsers
      The Registered Users. 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. Supports $expand.
    • transitiveMemberOf

      @Nullable public DirectoryObjectCollectionPage transitiveMemberOf
      The Transitive Member Of. Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand.
    • extensions

      @SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensions
      The Extensions. The collection of open extensions defined for the device. Read-only. Nullable.
  • Constructor Details

    • Device

      public Device()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class DirectoryObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to