Package com.microsoft.graph.models
Class Device
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.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 Summary
FieldsModifier and TypeFieldDescriptionThe Account Enabled.The Alternative Security Ids.The Approximate Last Sign In Date Time.The Compliance Expiration Date Time.The Device Id.The Device Metadata.The Device Version.The Display Name.The Extensions.The Is Compliant.The Is Managed.The Mdm App Id.The Member Of.The On Premises Last Sync Date Time.The On Premises Sync Enabled.The Operating System.The Operating System Version.The Physical Ids.The Profile Type.The Registered Owners.The Registered Users.The System Labels.The Transitive Member Of.The Trust Type.Fields inherited from class com.microsoft.graph.models.DirectoryObject
deletedDateTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
accountEnabled
@SerializedName(value="accountEnabled", alternate="AccountEnabled") @Expose @Nullable public Boolean accountEnabledThe 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> alternativeSecurityIdsThe 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 approximateLastSignInDateTimeThe 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 complianceExpirationDateTimeThe 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. -
deviceId
The Device Id. Unique identifier set by Azure Device Registration Service at the time of registration. Supports $filter (eq, ne, not, startsWith). -
deviceMetadata
@SerializedName(value="deviceMetadata", alternate="DeviceMetadata") @Expose @Nullable public String deviceMetadataThe Device Metadata. For internal use only. Set to null. -
deviceVersion
@SerializedName(value="deviceVersion", alternate="DeviceVersion") @Expose @Nullable public Integer deviceVersionThe Device Version. For internal use only. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe 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. -
isCompliant
@SerializedName(value="isCompliant", alternate="IsCompliant") @Expose @Nullable public Boolean isCompliantThe 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 isManagedThe 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
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 onPremisesLastSyncDateTimeThe 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 onPremisesSyncEnabledThe 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 operatingSystemThe 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 operatingSystemVersionThe 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> physicalIdsThe Physical Ids. For internal use only. Not nullable. Supports $filter (eq, not, ge, le, startsWith, and counting empty collections). -
profileType
@SerializedName(value="profileType", alternate="ProfileType") @Expose @Nullable public String profileTypeThe Profile Type. The profile type of the device. Possible values: RegisteredDevice (default), SecureVM, Printer, Shared, IoT. -
systemLabels
@SerializedName(value="systemLabels", alternate="SystemLabels") @Expose @Nullable public List<String> systemLabelsThe System Labels. List of labels applied to the device by the system. Supports $filter (eq when counting empty collections). -
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
The Member Of. Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. -
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. Currently, there can be only one owner. Read-only. Nullable. Supports $expand. -
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
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 extensionsThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classDirectoryObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-